mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 20:56:50 +00:00
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.
This commit is contained in:
parent
bb46e94fcc
commit
e937253b72
@ -1291,8 +1291,7 @@ vty_read (struct thread *thread)
|
|||||||
{
|
{
|
||||||
/* In case of telnet command */
|
/* In case of telnet command */
|
||||||
int ret = 0;
|
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;
|
vty->iac = 0;
|
||||||
i += ret;
|
i += ret;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user