]> git.puffer.fish Git - mirror/frr.git/commit
[lib] Fix infinite recursion for errors on vtys with terminal monitor enabled
authorAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Mon, 10 Jul 2006 18:09:42 +0000 (18:09 +0000)
committerAndrew J. Schorr <ajschorr@alumni.princeton.edu>
Mon, 10 Jul 2006 18:09:42 +0000 (18:09 +0000)
commit74542d730198a37a872b7114643e29e99c551bcf
tree0b224588a9579f45cda632ac9e33c783405824a3
parent1f2c2743ac188b909114a1bf054a9a41a0cd5635
[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.).
lib/ChangeLog
lib/vty.c