]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: clean up import vrf route-map command 6081/head
authorDon Slice <dslice@cumulusnetworks.com>
Mon, 9 Mar 2020 18:34:53 +0000 (18:34 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Tue, 24 Mar 2020 12:54:10 +0000 (12:54 +0000)
commitae6a6fb4e5a0409f0358e1c098dd4d5656483bde
tree7598998c63ace2b43d6dcef681a2ac38082a33b2
parent5b299acd1fbb8e4a9abe9c35a7b35d5e9af2f170
bgpd: clean up import vrf route-map command

Problem seen that if "import vrf route-map RMAP" was entered
without any vrfs being imported, the configuration was displayed
as "route-map vpn import RMAP". Additionally, if "import vrf
route-map" was entered without specifying a route-map name,
the command was accepted and the word "route-map" would be
treated as a vrf name.  This fix resolves both of those issues
and also allows deleting the "import vrf route-map" line without
providing the route-map name.

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