Skip to content
Snippets Groups Projects
Commit 3c51e604 authored by rswindell's avatar rswindell
Browse files

Enable escape_telnet_iac (0xff) option when -telnet cmd-line option used.

This shouldn't be necessary except for incorrectly-written clients that don't
properly unescape IAC.
parent e7bca3fc
Branches
Tags
No related merge requests found
...@@ -1481,6 +1481,9 @@ int main(int argc, char **argv) ...@@ -1481,6 +1481,9 @@ int main(int argc, char **argv)
} }
} }
if(telnet)
zm.escape_telnet_iac = TRUE;
if(sock==INVALID_SOCKET || sock<1) { if(sock==INVALID_SOCKET || sock<1) {
#ifdef __unix__ #ifdef __unix__
if(STDOUT_FILENO > STDIN_FILENO) if(STDOUT_FILENO > STDIN_FILENO)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment