diff options
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-07-10 18:09:42 +0000 |
---|---|---|
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | 2006-07-10 18:09:42 +0000 |
commit | 74542d730198a37a872b7114643e29e99c551bcf (patch) | |
tree | 0b224588a9579f45cda632ac9e33c783405824a3 /bgpd/bgp_damp.h | |
parent | 1f2c2743ac188b909114a1bf054a9a41a0cd5635 (diff) |
[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 'bgpd/bgp_damp.h')
0 files changed, 0 insertions, 0 deletions