summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 38d28a1388..5853710999 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -534,7 +534,6 @@ cmd_try_do_shortcut (enum node_type node, char* first_word) {
node != AUTH_NODE &&
node != VIEW_NODE &&
node != AUTH_ENABLE_NODE &&
- node != ENABLE_NODE &&
0 == strcmp( "do", first_word ) )
return 1;
return 0;
@@ -1218,6 +1217,7 @@ cmd_exit (struct vty *vty)
case BGP_NODE:
case RIP_NODE:
case EIGRP_NODE:
+ case BABEL_NODE:
case RIPNG_NODE:
case OSPF_NODE:
case OSPF6_NODE:
@@ -1300,6 +1300,7 @@ DEFUN (config_end,
case RIP_NODE:
case RIPNG_NODE:
case EIGRP_NODE:
+ case BABEL_NODE:
case BGP_NODE:
case BGP_VRF_POLICY_NODE:
case BGP_VNC_DEFAULTS_NODE: