]> git.puffer.fish Git - matthieu/frr.git/commit
BGP_ATTR_LABEL_INDEX fixes
authorDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 26 Apr 2017 15:53:35 +0000 (15:53 +0000)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 26 Apr 2017 17:59:02 +0000 (13:59 -0400)
commitd39cdd933f499e94577e1888fd78123a6dfe2d44
treeade765444f4e1109979643fc74a295b328680dd5
parent1d4b7d0e1ad1dfb2028774813b60a62ad18553c3
BGP_ATTR_LABEL_INDEX fixes

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
- cleaned up the "show bgp ipv4 labeled-unicast x.x.x.x" output

- fixed some json keys to use camelCase

- bgp_attr_label_index() was clearing BGP_ATTR_LABEL_INDEX because it
  was comparing mp_update->afi against SAFI_LABELED_UNICAST instead of
  mp_update->safi

- added BGP_ATTR_LABEL_INDEX to attr_str
bgpd/bgp_attr.c
bgpd/bgp_route.c