]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: When receiving a route set the label to invalid
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 May 2017 01:48:46 +0000 (21:48 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 3 May 2017 02:34:29 +0000 (22:34 -0400)
commit0ce5d20e460e416c4cffd4f0aa97b8c6a539416a
tree9f4a15363330d41e7f3de591a6e5cdc2c2e70fec
parent5ce77b2b1e6a4ce110f86180da4371a21dadb56e
bgpd: When receiving a route set the label to invalid

When we are receiving a route the attr->extra->label_index
is being set to 0.  This should be BGP_INVALID_LABEL_INDEX
instead since we cannot rely on 0 to be correct for labels.

I believe that there are probably other spots that need this
type of fix, but I will let testing snuggle-bump them out.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_packet.c