removed viztool usage of learned-from routing state that was removed
This commit is contained in:
parent
1d92359e72
commit
37c5f741e9
|
@ -127,8 +127,8 @@ process_request() CC_NON_BANKED
|
||||||
if(rt != NULL) {
|
if(rt != NULL) {
|
||||||
entry_size = sizeof(i) + sizeof(rt->ipaddr)
|
entry_size = sizeof(i) + sizeof(rt->ipaddr)
|
||||||
+ sizeof(rt->length)
|
+ sizeof(rt->length)
|
||||||
+ sizeof(rt->state.lifetime)
|
+ sizeof(rt->state.lifetime);
|
||||||
+ sizeof(rt->state.learned_from);
|
/* + sizeof(rt->state.learned_from); */
|
||||||
|
|
||||||
memcpy(buf + len, &i, sizeof(i));
|
memcpy(buf + len, &i, sizeof(i));
|
||||||
len += sizeof(i);
|
len += sizeof(i);
|
||||||
|
@ -147,11 +147,11 @@ process_request() CC_NON_BANKED
|
||||||
len += sizeof(flip);
|
len += sizeof(flip);
|
||||||
PRINTF(" - %08lx", rt->state.lifetime);
|
PRINTF(" - %08lx", rt->state.lifetime);
|
||||||
|
|
||||||
memcpy(buf + len, &rt->state.learned_from,
|
/* memcpy(buf + len, &rt->state.learned_from, */
|
||||||
sizeof(rt->state.learned_from));
|
/* sizeof(rt->state.learned_from)); */
|
||||||
len += sizeof(rt->state.learned_from);
|
/* len += sizeof(rt->state.learned_from); */
|
||||||
|
|
||||||
PRINTF(" - %02x [%u]\n", rt->state.learned_from, entry_size);
|
PRINTF(" - [%u]\n", entry_size);
|
||||||
|
|
||||||
count++;
|
count++;
|
||||||
left -= entry_size;
|
left -= entry_size;
|
||||||
|
|
Loading…
Reference in a new issue