mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-31 22:29:47 +00:00
Merge pull request #1635 from simonduq/pr/dao-no-k-flag-in-nopath
RPL: do not add K flag to no-path DAO as we discard the ACK anyway
This commit is contained in:
commit
70abb211e3
@ -1050,7 +1050,9 @@ dao_output_target_seq(rpl_parent_t *parent, uip_ipaddr_t *prefix,
|
||||
buffer[pos] |= RPL_DAO_D_FLAG;
|
||||
#endif /* RPL_DAO_SPECIFY_DAG */
|
||||
#if RPL_WITH_DAO_ACK
|
||||
buffer[pos] |= RPL_DAO_K_FLAG;
|
||||
if(lifetime != RPL_ZERO_LIFETIME) {
|
||||
buffer[pos] |= RPL_DAO_K_FLAG;
|
||||
}
|
||||
#endif /* RPL_WITH_DAO_ACK */
|
||||
++pos;
|
||||
buffer[pos++] = 0; /* reserved */
|
||||
|
Loading…
Reference in New Issue
Block a user