From 7fb99ed7c2637d88ad8751e26cc509b905b68508 Mon Sep 17 00:00:00 2001 From: George Oikonomou Date: Thu, 20 Feb 2014 15:52:34 +0000 Subject: [PATCH] Point to the correct trickle param --- core/net/ipv6/multicast/roll-tm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/net/ipv6/multicast/roll-tm.c b/core/net/ipv6/multicast/roll-tm.c index 37f14f457..75ce897ed 100644 --- a/core/net/ipv6/multicast/roll-tm.c +++ b/core/net/ipv6/multicast/roll-tm.c @@ -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 ");