diff options
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 efce3fa0..80b113e8 100644 --- a/lib/command.c +++ b/lib/command.c @@ -2569,8 +2569,7 @@ DEFUN (config_write_file, } /* Make vty for configuration file. */ - file_vty = vty_new (); - file_vty->fd = fd; + file_vty = vty_new (fd); file_vty->type = VTY_FILE; /* Config file header print. */ |