diff options
| author | David Lamparter <equinox@diac24.net> | 2017-06-16 18:25:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-16 18:25:48 +0200 |
| commit | 62e4232010330e515630399838288f6281d04de6 (patch) | |
| tree | 5c12a3b44fbbb6931f6cbfe68753b95965ac9862 /lib/command.c | |
| parent | 44d7e121fddba471bac18ff33f981ab0e847ba3d (diff) | |
| parent | b170d66a78b585dccf1e800f9c8e11575d5053ff (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.c | 1 |
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; |
