summaryrefslogtreecommitdiffstats
path: root/zebra/kernel_null.c
diff options
context:
space:
mode:
authorajs <ajs>2006-07-10 18:09:42 +0000
committerajs <ajs>2006-07-10 18:09:42 +0000
commit7305ce4f25a8608ef0113ba5211c82d71a44fb09 (patch)
treefad6228fa20475d16473d0efb393b60e91b41833 /zebra/kernel_null.c
parent94b0635027f0b4f5214dc998efe74773c0677492 (diff)
downloadquagga-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