diff options
| author | David Lamparter <equinox@diac24.net> | 2021-02-04 22:27:11 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2021-02-12 19:29:36 +0100 |
| commit | b6bc1ee8d363d61addd4c36ace693d5b795347d8 (patch) | |
| tree | ba64acc34f153aaa93b050f0eb0491efd7c130fb /pceplib/pcep_utils_queue.c | |
| parent | 877057b67adcd9ed15e34bc1cf39281dc08f64cc (diff) | |
lib: de-uglify `-t` option + `log stdout` combo
The logging code writes log messages with a `\n` line ending, meanwhile
the VTY code switches it so you need `\r\n`...
And we don't flush the newline after executing a command either.
After this patch, starting daemons like `zebra/zebra -t` should provide
a nice development/debugging experience with a VTY open right there on
stdio and `log stdout` interspersed.
(This is already documented in the man pages, it just looked like sh*t
previously since the log messages didn't newline correctly.)
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'pceplib/pcep_utils_queue.c')
0 files changed, 0 insertions, 0 deletions
