]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Fix labeled-unicast generation and parsing issues
authorDon Slice <dslice@cumulusnetworks.com>
Wed, 15 Mar 2017 12:43:01 +0000 (08:43 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 6 Apr 2017 14:32:08 +0000 (10:32 -0400)
commitaab1814c21a473861994a868e60bdd99adec053f
tree1d57f39c64122eeabe7f8507f3aa01065fd8a052
parent42313c3f4426716bd4b5e797285cdaf9d64f335c
bgpd: Fix labeled-unicast generation and parsing issues

Labeled-unicast updates were being sent with an ipv6 nexthop due to
not setting the mp_nexthop_len or nh_afi.  On the receive side, the
prefix length was being incorrectly determined and has been fixed.
Also the stream for bgp_label_buf was not created.  All resolved.

Ticket: CM-15260
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed-by:
bgpd/bgp_attr.c
bgpd/bgp_label.c
bgpd/bgp_zebra.c