
4 Apr
2007
4 Apr
'07
6:20 a.m.
Rene Wilhelm wrote:
But next question is how this applies to IPv4. The bgpdump.c code features same constructs for AFI_IP and AFI_IP6.
e.g.
printf("(IPv4 Unicast)\n"); printf("NEXT_HOP: %s\n",inet_ntoa(attr->mp_info->announce[AFI_IP][SAFI_UNICAST]->nexthop.v4_addr)); if (attr->mp_info->announce[AFI_IP][SAFI_UNICAST]->nexthop_len==32) printf("NEXT_HOP: %s\n",inet_ntoa(attr->mp_info->announce[AFI_IP][SAFI_UNICAST]->nexthop_local.v4_addr));
is it ever possible to get nexthop_len==32 in this case ??? or did the authors of bgpdump.c just liked typing? :)
I think the authors of bgpdump.c just liked cut and paste :-) Hello from sunny California! Cheers, Lorenzo -- Lorenzo Colitti http://www.colitti.com/lorenzo/