commit | 74542d730198a37a872b7114643e29e99c551bcf | [log] [tgz] |
---|---|---|
author | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | Mon Jul 10 18:09:42 2006 +0000 |
committer | Andrew J. Schorr <ajschorr@alumni.princeton.edu> | Mon Jul 10 18:09:42 2006 +0000 |
tree | 0b224588a9579f45cda632ac9e33c783405824a3 | |
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.).