diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2021-07-23 18:38:20 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2021-07-26 14:46:41 +0300 |
| commit | d29d7fe29c7d0dccf5f101d668305af1283d0005 (patch) | |
| tree | b38d76b7f0ab73b3c58f5ccff139f51c8a965b35 /lib/routemap_cli.c | |
| parent | 46e9a8b07526696baf5c63ad45880bc598a7b988 (diff) | |
vtysh: don't install "enable" command in user mode
Recent change in d1b287e only fixed the problem for 3-letter words.
We were still displaying error for longer words starting with "ena":
```
nfware> enac
% Command not allowed: enable
nfware> enad
% Command not allowed: enable
nfware> enaena
% Command not allowed: enable
```
If we don't allow "enable" command in user mode, why add it at all?
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit c54796288e8b55b3f5c241aa242ef81f1df76e44)
Diffstat (limited to 'lib/routemap_cli.c')
0 files changed, 0 insertions, 0 deletions
