]> git.puffer.fish 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)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 21 Feb 2023 13:16:28 +0000 (13:16 +0000)
commitbea6f612ae6db196ea459669c8734470185a1fde
treeeda00a508285df47eae455e03fdffceff87fff56
parent6deccd59959f6f3862ec3102b6bf7f4cbdd5dd67
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>
(cherry picked from commit 558e8f58012a2f5473e72d70dc74ab7749443dc4)
bgpd/bgp_attr.c