]> git.proxmox.com Git - mirror_frr.git/commit - lib/vty.h
lib/vty: add separate output fd support to VTYs
authorDavid Lamparter <equinox@diac24.net>
Thu, 30 May 2013 14:31:49 +0000 (16:31 +0200)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 8 Jun 2016 19:08:05 +0000 (15:08 -0400)
commitc5e69a025f7d1c15cd1c49d1b8cf7a0c18bbc377
tree1a44f6621bf0f9c5015494d5d8ab244df114d43d
parentdfa251d16295385079f8ab86af3b4fb4bb44923a
lib/vty: add separate output fd support to VTYs

to be used with stdin/stdout terminals, this adds support for writing to
a different FD than we're reading from.  Also fixes error messages from
config load being written to stdin.

[v2: fixed config write]
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 4715a53b4d390e72a06c864a6a505971841e3dc9)
lib/command.c
lib/vty.c
lib/vty.h