]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: add l2vpn evpn to afi safi parse utility
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 10 Jun 2019 12:48:36 +0000 (05:48 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Mon, 10 Jun 2019 12:48:36 +0000 (05:48 -0700)
commit8688b3e76b1751406fea66ad09107ad50bbcaa55
tree8279156091a219e9cd2cf79ce99240cc739feaff
parent9fd5497f309c687f432bc8ba760eeb61d742bbe1
bgpd: add l2vpn evpn to afi safi parse utility

Problem reported with "clear bgp l2vpn evpn * soft" clearing the
wrong afi/safi (cleared ipv6 unicast instead).  Determined that
the calling function used the argv_find_and_parse_afi/safi routines
to determine the correct afi/safi to pass on.  Since l2vpn/evpn were
missing from the lookup, the command defaulted to ipv6 unicast.  This
fix just adds that afi/safi to the lookup routine.

Ticket: CM-25167
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
bgpd/bgp_vty.c