summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-06-16 18:25:48 +0200
committerGitHub <noreply@github.com>2017-06-16 18:25:48 +0200
commit62e4232010330e515630399838288f6281d04de6 (patch)
tree5c12a3b44fbbb6931f6cbfe68753b95965ac9862 /lib/command.c
parent44d7e121fddba471bac18ff33f981ab0e847ba3d (diff)
parentb170d66a78b585dccf1e800f9c8e11575d5053ff (diff)
Merge pull request #718 from qlyoung/fix-vtysh-shit
lib: allow 'do' commands in ENABLE_NODE
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index 8a4250bce5..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;