From: Christian Franke Date: Mon, 5 Dec 2016 18:46:09 +0000 (+0100) Subject: lib: "write mem" should write to persistent configuration X-Git-Tag: frr-3.0-branchpoint~124^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=74d57f5a1ff2a42157b4fcfd60e638df6fe18da6;p=mirror%2Ffrr.git lib: "write mem" should write to persistent configuration Signed-off-by: Christian Franke --- 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)