mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-02 19:29:30 +00:00
always send DAO to refresh routes
This commit is contained in:
parent
d0e2d9b47e
commit
729a434d0f
@ -445,9 +445,8 @@ dio_output(rpl_instance_t *instance, uip_ipaddr_t *uc_addr)
|
|||||||
|
|
||||||
buffer[pos++] = instance->dtsn_out;
|
buffer[pos++] = instance->dtsn_out;
|
||||||
|
|
||||||
if(RPL_LOLLIPOP_IS_INIT(instance->dtsn_out)) {
|
/* always request new DAO to refresh route */
|
||||||
RPL_LOLLIPOP_INCREMENT(instance->dtsn_out);
|
RPL_LOLLIPOP_INCREMENT(instance->dtsn_out);
|
||||||
}
|
|
||||||
|
|
||||||
/* reserved 2 bytes */
|
/* reserved 2 bytes */
|
||||||
buffer[pos++] = 0; /* flags */
|
buffer[pos++] = 0; /* flags */
|
||||||
|
Loading…
Reference in New Issue
Block a user