]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix "-t" command line option 2806/head
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 8 Aug 2018 18:52:15 +0000 (20:52 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 8 Aug 2018 18:53:27 +0000 (20:53 +0200)
commit572e26445a84ebaeeb3d6b2e1d908b4050f44516
tree12b04deda7fe3cee8f1501e71a2fa1ef949930d3
parent09890489cc002de1901df3b12328b562c9fcd573
lib: fix "-t" command line option

was_stdio was getting set for fd == -1 (config file read), thus
prematurely closing the stdio vty.

Signed-off-by: David Lamparter <equinox@diac24.net>
lib/vty.c