mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-26 08:07:50 +00:00
lib: "write mem" should write to persistent configuration
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
This commit is contained in:
parent
0577b824e1
commit
74d57f5a1f
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user