]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: factorise ipv6 vpn nexthop encoding
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 13 Feb 2023 11:17:28 +0000 (12:17 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 15 Feb 2023 16:02:15 +0000 (17:02 +0100)
commit558e8f58012a2f5473e72d70dc74ab7749443dc4
treed9c9b8553ae369849c06bf7d4b601153839dcfd0
parent7bdeb1cd8470b0ff4b95c9f5788cdabad35ac722
bgpd: factorise ipv6 vpn nexthop encoding

Because mp_nexthop_len attribute value stands for the length
to encode in the stream, simplify the way the nexthop is
forged.

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