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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue