mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Don't advertise datagrams older than Tactive
This commit is contained in:
parent
775928fa3f
commit
9f4cdab1fb
@ -835,7 +835,8 @@ icmp_output()
|
||||
|
||||
for(locmpptr = &buffered_msgs[ROLL_TM_BUFF_NUM - 1];
|
||||
locmpptr >= buffered_msgs; locmpptr--) {
|
||||
if(MCAST_PACKET_IS_USED(locmpptr)) {
|
||||
if(MCAST_PACKET_IS_USED(locmpptr) &&
|
||||
locmpptr->active < TRICKLE_ACTIVE((&t[SLIDING_WINDOW_GET_M(iterswptr)]))) {
|
||||
if(locmpptr->sw == iterswptr) {
|
||||
sl->seq_len++;
|
||||
PRINTF(", %u", locmpptr->seq_val);
|
||||
|
Loading…
Reference in New Issue
Block a user