mirror of
https://github.com/simh/simh.git
synced 2026-04-28 20:57:26 +00:00
TMXR: Avoid assigning incoming connections to modem enabled lines which don't have DTR raised.
This commit is contained in:
@@ -1018,7 +1018,8 @@ if (mp->master) {
|
|||||||
if ((lp->conn == FALSE) && /* is the line available? */
|
if ((lp->conn == FALSE) && /* is the line available? */
|
||||||
(lp->destination == NULL) &&
|
(lp->destination == NULL) &&
|
||||||
(lp->master == 0) &&
|
(lp->master == 0) &&
|
||||||
(lp->ser_connect_pending == FALSE))
|
(lp->ser_connect_pending == FALSE) &&
|
||||||
|
(lp->modem_control ? ((lp->modembits & TMXR_MDM_DTR) != 0) : TRUE))
|
||||||
break; /* yes, so stop search */
|
break; /* yes, so stop search */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user