diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-09-07 11:47:52 +0200 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2023-09-07 11:47:52 +0200 |
commit | c41d017f22ae440388a3694483cae1a031d439af (patch) | |
tree | 7fca8f1370fabea197fbcbedd0499de529956028 | |
parent | 679049a610f7e0e5b1b9c44afc9a62df77023860 (diff) | |
parent | ac3dd08369458df95349a2e080121f13dda76aa9 (diff) | |
download | microcom-c41d017f22ae440388a3694483cae1a031d439af.tar.gz microcom-c41d017f22ae440388a3694483cae1a031d439af.tar.xz |
Merge branch 'dont-send-do-comport' of https://github.com/ukleinek/microcom
-rw-r--r-- | telnet.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -596,11 +596,9 @@ struct ios_ops *telnet_init(char *hostport) } printf("connected to %s (port %s)\n", connected_host, connected_port); - /* send intent to do and accept COM_PORT stuff */ + /* send intent we WILL do COM_PORT stuff */ dbg_printf("-> WILL COM_PORT_CONTROL\n"); dprintf(sock, "%c%c%c", IAC, WILL, TELNET_OPTION_COM_PORT_CONTROL); - dbg_printf("-> DO COM_PORT_CONTROL\n"); - dprintf(sock, "%c%c%c", IAC, DO, TELNET_OPTION_COM_PORT_CONTROL); goto out; } |