]> git.proxmox.com 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>
Tue, 17 Jan 2017 11:13:11 +0000 (12:13 +0100)
commitcf6c0c088ecaeca16784c313234df6e11cd8584f
tree12b75917aadd3d472f2fd87557518feb0dce0cf8
parentc820573d4c62a453976f1c5cf0f37704f29ca7ec
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