diff --git a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c index 239e8985d0..26f409c7b1 100644 --- a/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c +++ b/sys/net/gnrc/routing/rpl/gnrc_rpl_control_messages.c @@ -1096,7 +1096,7 @@ void gnrc_rpl_send_DAO(gnrc_rpl_instance_t *inst, ipv6_addr_t *destination, uint gnrc_rpl_send(pkt, dodag->iface, NULL, destination, &dodag->dodag_id); - GNRC_RPL_COUNTER_INCREMENT(dodag->dao_seq); + dodag->dao_seq = GNRC_RPL_COUNTER_INCREMENT(dodag->dao_seq); } void gnrc_rpl_send_DAO_ACK(gnrc_rpl_instance_t *inst, ipv6_addr_t *destination, uint8_t seq)