Point to the correct trickle param

This commit is contained in:
George Oikonomou 2014-02-20 15:52:34 +00:00
parent 38a0c867f2
commit 7fb99ed7c2

View File

@ -1270,6 +1270,9 @@ roll_tm_icmp_input()
PRINTF("Check %u, Seed L: %u, This L: %u Min L: %d\n",
locmpptr->seq_val, SLIDING_WINDOW_IS_LISTED(locswptr),
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 a buffered packet's Seed ID was not listed */
PRINTF("ROLL TM: Inconsistency - Seed ID ");