]> git.puffer.fish Git - mirror/frr.git/commit
lib: replace stderr with zlog in vty config load
authorDavid Lamparter <equinox@opensourcerouting.org>
Mon, 31 Jul 2017 22:05:04 +0000 (00:05 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 2 Aug 2017 21:36:42 +0000 (23:36 +0200)
commitb4fa7c95f9a4e22e91db939d055b248006df5495
treec92044d7e07609384f9f724017f198bd7056c4f7
parentd34cb7f0b7a9ff4c484ae4158f22e0bebf17586b
lib: replace stderr with zlog in vty config load

Now that the logging hole is plugged, we can just print config-loading
errors to the log.  This has 2 hidden advantages:

- vty_read_config calls in SIGHUP don't print errors to /dev/null
- errors are consistently printed to syslog on --enable-cumulus

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