diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-11-09 09:24:27 -0500 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-09 09:24:27 -0500 | 
| commit | d10955a411bd44ed6c04eaa9d2367b89182520a8 (patch) | |
| tree | 58d0f7d69f8c0632f6014cc0192ff2e8bd3420b1 | |
| parent | 30283fd991d34517b5fb08ea9f6b65e68432af55 (diff) | |
| parent | e4d0fa60d71bb55836120f3728ed6de58f555a40 (diff) | |
Merge pull request #1427 from opensourcerouting/cfra/fixes/vty-split-fd-suggestion
cfra/fixes/vty split fd suggestion
| -rw-r--r-- | vtysh/vtysh_config.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index 942980bd86..2a6f756f4f 100644 --- a/vtysh/vtysh_config.c +++ b/vtysh/vtysh_config.c @@ -366,7 +366,7 @@ static int vtysh_read_file(FILE *confp)  	int ret;  	vty = vty_new(); -	vty->fd = 0; /* stdout */ +	vty->wfd = STDERR_FILENO;  	vty->type = VTY_TERM;  	vty->node = CONFIG_NODE;  | 
