summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorpaul <paul>2003-10-26 21:36:07 +0000
committerpaul <paul>2003-10-26 21:36:07 +0000
commite937253b72b9fa526a56866bd4b827bf05bfb80c (patch)
treeca04ee467b851042cd1e1f1462d02048580edb5a /lib
parentbb46e94fcccd9ede513bef8d8e22fe5fafdfbd10 (diff)
2003-10-26 Paul Jakma <paul@dishone.st>
* lib/vty.c: (vty_read) additional change i had applied to Jay's telnet sub-option processing crash fix was incorrect, revert.
Diffstat (limited to 'lib')
-rw-r--r--lib/vty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/vty.c b/lib/vty.c
index deae16e3..edfd99dd 100644
--- 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;