mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
TMXR: Make sure all types of incoming connections properly support telnet
Per line listeners also need to potentially negotiate Telnet options. Make sure that the telnet option bookkeeping info is available.
This commit is contained in:
parent
d497aea17e
commit
c1e7dfcf06
@ -1143,6 +1143,8 @@ for (i = 0; i < mp->lines; i++) { /* check each line in se
|
||||
if (!lp->notelnet) {
|
||||
sim_write_sock (newsock, (char *)mantra, sizeof(mantra));
|
||||
tmxr_debug (TMXR_DBG_XMT, lp, "Sending", (char *)mantra, sizeof(mantra));
|
||||
lp->telnet_sent_opts = (uint8 *)realloc (lp->telnet_sent_opts, 256);
|
||||
memset (lp->telnet_sent_opts, 0, 256);
|
||||
}
|
||||
tmxr_report_connection (mp, lp);
|
||||
lp->cnms = sim_os_msec (); /* time of connection */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user