diff options
author | ajs <ajs> | 2006-07-10 18:09:42 +0000 |
---|---|---|
committer | ajs <ajs> | 2006-07-10 18:09:42 +0000 |
commit | 7305ce4f25a8608ef0113ba5211c82d71a44fb09 (patch) | |
tree | fad6228fa20475d16473d0efb393b60e91b41833 /zebra/kernel_null.c | |
parent | 94b0635027f0b4f5214dc998efe74773c0677492 (diff) | |
download | quagga-7305ce4f25a8608ef0113ba5211c82d71a44fb09.tar.bz2 quagga-7305ce4f25a8608ef0113ba5211c82d71a44fb09.tar.xz |
[lib] Fix infinite recursion for errors on vtys with terminal monitor enabled
2006-07-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* vty.c: (vty_log_out, vty_read, vty_flush, vtysh_flush, vtysh_read)
After an I/O error, must set vty->monitor to 0 before calling
zlog_warn, otherwise an infinite recursion could occur
(since zlog_warn triggers a message to be written to the vty,
and that in turn triggers another error message when it fails, etc.).
Diffstat (limited to 'zebra/kernel_null.c')
0 files changed, 0 insertions, 0 deletions