Skip to content

Commit c41d017

Browse files
author
Uwe Kleine-König
committed
Merge branch 'dont-send-do-comport' of https://github.com/ukleinek/microcom
2 parents 679049a + ac3dd08 commit c41d017

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

telnet.c

+1-3
Original file line numberDiff line numberDiff line change
@@ -596,11 +596,9 @@ struct ios_ops *telnet_init(char *hostport)
596596
}
597597
printf("connected to %s (port %s)\n", connected_host, connected_port);
598598

599-
/* send intent to do and accept COM_PORT stuff */
599+
/* send intent we WILL do COM_PORT stuff */
600600
dbg_printf("-> WILL COM_PORT_CONTROL\n");
601601
dprintf(sock, "%c%c%c", IAC, WILL, TELNET_OPTION_COM_PORT_CONTROL);
602-
dbg_printf("-> DO COM_PORT_CONTROL\n");
603-
dprintf(sock, "%c%c%c", IAC, DO, TELNET_OPTION_COM_PORT_CONTROL);
604602
goto out;
605603
}
606604

0 commit comments

Comments
 (0)