]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: clarify when the vpnv6 nexthop length must be modified
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 13 Feb 2023 11:18:33 +0000 (12:18 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 21 Feb 2023 13:16:28 +0000 (13:16 +0000)
commitfd5dcbacfa3b6a495edbf9a068c6da1dbb3dc453
tree9d899f0e587ddaa645b9837cbcc136470cd8fd4a
parentbea6f612ae6db196ea459669c8734470185a1fde
bgpd: clarify when the vpnv6 nexthop length must be modified

Using a route-map to update the local ipv6 address has to be
better clarified. Actually, when a VPN SAFI is used, the nexthop
length must be changed to 48 bytes. Other cases, the length will
be 32 bytes.

Fixes: 9795e9f23465 ("bgpd: fix when route-map changes the link local
nexthop for vpnv6")

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
(cherry picked from commit 5bbcc78202f53f67082aa0d3026a8b7e8c44909a)
bgpd/bgp_routemap.c