diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-08 15:07:24 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-08 15:07:24 +0100 |
| commit | 04cb2408680836fa2d7a5990e49666c1f86d5f8c (patch) | |
| tree | 26271e7f867a5a8a1c7a4806aca3ddb2d799235a /lib/command.c | |
| parent | dd2ecdedf88eb612759617ba044e4c29353088de (diff) | |
| parent | 6fa4ca0669b1e5cacd9399dcde45c92068ef1f9b (diff) | |
Merge branch 'fixes/command'
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
| -rw-r--r-- | lib/command.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/command.c b/lib/command.c index 092037bc1d..8d5493ca56 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1329,9 +1329,8 @@ DEFUN (config_write, struct vty *file_vty; struct stat conf_stat; - // if command was 'write terminal', 'write memory' or 'show running-config' + // if command was 'write terminal' or 'show running-config' if (argc == 2 && (!strcmp(argv[idx_type]->text, "terminal") || - !strcmp(argv[idx_type]->text, "memory") || !strcmp(argv[0]->text, "show"))) { if (vty->type == VTY_SHELL_SERV) |
