]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/command.c
lib/vty: add separate output fd support to VTYs
[mirror_frr.git] / lib / command.c
index 015d97266d84a5776c74caf3ef6ab0043edde751..72a273989506cf860033eb82dcbb297d4c7037ee 100644 (file)
@@ -3153,7 +3153,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. */