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];
|
for(locmpptr = &buffered_msgs[ROLL_TM_BUFF_NUM - 1];
|
||||||
locmpptr >= buffered_msgs; locmpptr--) {
|
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) {
|
if(locmpptr->sw == iterswptr) {
|
||||||
sl->seq_len++;
|
sl->seq_len++;
|
||||||
PRINTF(", %u", locmpptr->seq_val);
|
PRINTF(", %u", locmpptr->seq_val);
|
||||||
|
|
Loading…
Reference in a new issue