summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_evpn_vty.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-04-20 13:56:48 +0200
committerGitHub <noreply@github.com>2018-04-20 13:56:48 +0200
commit5e572e886afa4ffd899fc8165f708d76541c5b86 (patch)
tree83c216448b2d93d84ddff562ae915a981bb5b72b /bgpd/bgp_evpn_vty.c
parentMerge pull request #2051 from donaldsharp/PBRD_EXTRA (diff)
parentzebra: Cleanup lines over 80 columns (diff)
downloadfrr-5e572e886afa4ffd899fc8165f708d76541c5b86.tar.xz
frr-5e572e886afa4ffd899fc8165f708d76541c5b86.zip
Merge pull request #2057 from donaldsharp/fix_1916
Fix 1916
Diffstat (limited to 'bgpd/bgp_evpn_vty.c')
-rw-r--r--bgpd/bgp_evpn_vty.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/bgpd/bgp_evpn_vty.c b/bgpd/bgp_evpn_vty.c
index 46a903868..c74a1bfb7 100644
--- a/bgpd/bgp_evpn_vty.c
+++ b/bgpd/bgp_evpn_vty.c
@@ -2692,10 +2692,10 @@ DEFUN (no_bgp_evpn_default_originate,
return CMD_SUCCESS;
}
-DEFUN (bgp_evpn_advertise_vni_subnet,
- bgp_evpn_advertise_vni_subnet_cmd,
- "advertise-subnet",
- "Advertise the subnet corresponding to VNI\n")
+DEFUN_HIDDEN (bgp_evpn_advertise_vni_subnet,
+ bgp_evpn_advertise_vni_subnet_cmd,
+ "advertise-subnet",
+ "Advertise the subnet corresponding to VNI\n")
{
struct bgp *bgp_vrf = NULL;
struct bgp *bgp = VTY_GET_CONTEXT(bgp);
@@ -2715,11 +2715,11 @@ DEFUN (bgp_evpn_advertise_vni_subnet,
return CMD_SUCCESS;
}
-DEFUN (no_bgp_evpn_advertise_vni_subnet,
- no_bgp_evpn_advertise_vni_subnet_cmd,
- "no advertise-subnet",
- NO_STR
- "Advertise All local VNIs\n")
+DEFUN_HIDDEN (no_bgp_evpn_advertise_vni_subnet,
+ no_bgp_evpn_advertise_vni_subnet_cmd,
+ "no advertise-subnet",
+ NO_STR
+ "Advertise All local VNIs\n")
{
struct bgp *bgp = VTY_GET_CONTEXT(bgp);
VTY_DECLVAR_CONTEXT_SUB(bgpevpn, vpn);