diff options
| author | Christian Franke <nobody@nowhere.ws> | 2016-12-05 19:46:09 +0100 | 
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2016-12-05 19:52:50 +0100 | 
| commit | 74d57f5a1ff2a42157b4fcfd60e638df6fe18da6 (patch) | |
| tree | 518b454a7788af7eefa3b7e48b1bfd46b6b96995 /lib/command.c | |
| parent | 0577b824e137f143c899a567b1bbeb109841c796 (diff) | |
lib: "write mem" should write to persistent configuration
Signed-off-by: Christian Franke <chris@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 3c429ce1a7..39ac54d61e 100644 --- a/lib/command.c +++ b/lib/command.c @@ -1319,9 +1319,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)  | 
