mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 14:29:47 +00:00
bgpd: add route-map to no
advertise ipvX * cmd
Add route-map as a possible word for the `no` form of `advertise ipvX *** [route-map WORD] cmd. Before this patch the cmd was only accepted if `no` form was given without route-map WORD. So if you just copypaste the original version of the cmd, it would fail. Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
58d8948cf4
commit
24df337988
@ -4024,11 +4024,13 @@ DEFUN (bgp_evpn_advertise_type5,
|
||||
|
||||
DEFUN (no_bgp_evpn_advertise_type5,
|
||||
no_bgp_evpn_advertise_type5_cmd,
|
||||
"no advertise " BGP_AFI_CMD_STR "" BGP_SAFI_CMD_STR,
|
||||
"no advertise " BGP_AFI_CMD_STR "" BGP_SAFI_CMD_STR " [route-map WORD]",
|
||||
NO_STR
|
||||
"Advertise prefix routes\n"
|
||||
BGP_AFI_HELP_STR
|
||||
BGP_SAFI_HELP_STR)
|
||||
BGP_SAFI_HELP_STR
|
||||
"route-map for filtering specific routes\n"
|
||||
"Name of the route map\n")
|
||||
{
|
||||
struct bgp *bgp_vrf = VTY_GET_CONTEXT(bgp); /* bgp vrf instance */
|
||||
int idx_afi = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user