]> git.puffer.fish Git - matthieu/frr.git/commitdiff
2003-10-26 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Sun, 26 Oct 2003 21:36:07 +0000 (21:36 +0000)
committerpaul <paul>
Sun, 26 Oct 2003 21:36:07 +0000 (21:36 +0000)
* lib/vty.c: (vty_read) additional change i had applied to Jay's
  telnet sub-option processing crash fix was incorrect, revert.

lib/vty.c

index deae16e3274f2aa19d36ff81b5138fdb128c200b..edfd99dd8d737a7c43e1cab1fd9bee96e472271c 100644 (file)
--- a/lib/vty.c
+++ b/lib/vty.c
@@ -1291,8 +1291,7 @@ vty_read (struct thread *thread)
        {
          /* In case of telnet command */
          int ret = 0;
-         if (vty->iac_sb_in_progress)
-           ret = vty_telnet_option (vty, buf + i, nbytes - i);
+         ret = vty_telnet_option (vty, buf + i, nbytes - i);
          vty->iac = 0;
          i += ret;
          continue;