diff options
Diffstat (limited to 'lib/command.c')
-rw-r--r-- | lib/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c index 8ae27de9..3a59f244 100644 --- a/lib/command.c +++ b/lib/command.c @@ -3065,7 +3065,7 @@ DEFUN (config_write_file, /* Make vty for configuration file. */ file_vty = vty_new (); - file_vty->fd = fd; + file_vty->wfd = fd; file_vty->type = VTY_FILE; /* Config file header print. */ |