]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix nexthop comparison for nexthop vpnv6 attribute
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 6 Jan 2017 12:35:40 +0000 (13:35 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 13 Jan 2017 13:19:59 +0000 (14:19 +0100)
commitaf37568a48e0bd396db634a63999b9624a1b793c
treea938401b4f76f12dd66c2dd40cbea31cabfd816f
parentc286be9683dde27557c4cb8af40a78de1869e198
bgpd: fix nexthop comparison for nexthop vpnv6 attribute

As nexthop attribute for vpnv6 also contains a blank RD and a blank tag,
the IPv6 address length increases from 16 to 24 bytes. The same was
observed for vpnv4 nexthop, but was missing for VPNv6.
The same is done for martian nexthop debugging.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_mpath.c
bgpd/bgp_route.c