mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-07-24 11:29:10 +00:00
Point to the correct trickle param
This commit is contained in:
parent
38a0c867f2
commit
7fb99ed7c2
@ -1270,6 +1270,9 @@ roll_tm_icmp_input()
|
|||||||
PRINTF("Check %u, Seed L: %u, This L: %u Min L: %d\n",
|
PRINTF("Check %u, Seed L: %u, This L: %u Min L: %d\n",
|
||||||
locmpptr->seq_val, SLIDING_WINDOW_IS_LISTED(locswptr),
|
locmpptr->seq_val, SLIDING_WINDOW_IS_LISTED(locswptr),
|
||||||
MCAST_PACKET_IS_LISTED(locmpptr), locswptr->min_listed);
|
MCAST_PACKET_IS_LISTED(locmpptr), locswptr->min_listed);
|
||||||
|
|
||||||
|
/* Point to the sliding window's trickle param */
|
||||||
|
loctpptr = &t[SLIDING_WINDOW_GET_M(locswptr)];
|
||||||
if(!SLIDING_WINDOW_IS_LISTED(locswptr)) {
|
if(!SLIDING_WINDOW_IS_LISTED(locswptr)) {
|
||||||
/* If a buffered packet's Seed ID was not listed */
|
/* If a buffered packet's Seed ID was not listed */
|
||||||
PRINTF("ROLL TM: Inconsistency - Seed ID ");
|
PRINTF("ROLL TM: Inconsistency - Seed ID ");
|
||||||
|
Loading…
Reference in New Issue
Block a user