summaryrefslogtreecommitdiffstats
path: root/lib/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index f31f4b5d..b758df3e 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -34,6 +34,9 @@ struct vty
/* File descripter of this vty. */
int fd;
+ /* output FD, to support stdin/stdout combination */
+ int wfd;
+
/* Is this vty connect to file or not */
enum {VTY_TERM, VTY_FILE, VTY_SHELL, VTY_SHELL_SERV} type;