summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls_vty.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@hpe.com>2016-06-16 17:06:13 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-10-20 04:28:45 +0200
commite95c4d17a7e9fcd22b2bb14ccdac93e458e08cb7 (patch)
tree8893a6b7ba301a55597a71908e5aa6c7cc1753f5 /zebra/zebra_mpls_vty.c
parentlib: keep hash of node's commands to detect duplicate installs (diff)
downloadfrr-e95c4d17a7e9fcd22b2bb14ccdac93e458e08cb7.tar.xz
frr-e95c4d17a7e9fcd22b2bb14ccdac93e458e08cb7.zip
*: Fix duplicate commands from view/enable node consolidation
Diffstat (limited to 'zebra/zebra_mpls_vty.c')
-rw-r--r--zebra/zebra_mpls_vty.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/zebra/zebra_mpls_vty.c b/zebra/zebra_mpls_vty.c
index 6136e92cd..6e95236c2 100644
--- a/zebra/zebra_mpls_vty.c
+++ b/zebra/zebra_mpls_vty.c
@@ -828,7 +828,6 @@ void
zebra_mpls_vty_init (void)
{
install_element (VIEW_NODE, &show_mpls_status_cmd);
- install_element (ENABLE_NODE, &show_mpls_status_cmd);
if (! mpls_enabled)
return;
@@ -875,7 +874,5 @@ zebra_mpls_vty_init (void)
install_element (CONFIG_NODE, &no_mpls_transit_lsp_all_cmd);
install_element (VIEW_NODE, &show_mpls_table_cmd);
- install_element (ENABLE_NODE, &show_mpls_table_cmd);
install_element (VIEW_NODE, &show_mpls_table_lsp_cmd);
- install_element (ENABLE_NODE, &show_mpls_table_lsp_cmd);
}