summaryrefslogtreecommitdiffstats
path: root/src/codec
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2019-11-21 02:20:11 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2019-11-21 10:48:30 +0700
commitb639b4d4f7f3d51c50dd687a38690c57ba20dced (patch)
tree22d9f9e53206c84fa99c6097d272aef3c0f04969 /src/codec
parent4abda9ea26403e24b2d91b83a1e4c81f5fb4b003 (diff)
logging/vty: fix vty_read_file(): do not write warnings to stdin
Setting vty->fd to 0 is a bad idea, which may cause the process to write() warnings to its own _stdin_ (yes, it's possible). For example, when a configuration file contains deprecated logging commands. Let's use stderr by default. Change-Id: Icdeaea67a06da3a2f07b252e455629559ecc1829
Diffstat (limited to 'src/codec')
0 files changed, 0 insertions, 0 deletions