mirror of
https://github.com/simh/simh.git
synced 2026-05-05 07:23:34 +00:00
TMXR: Fix to drop DCD and CTS when a modem connection is dropped remotely
As reported in #609
This commit is contained in:
@@ -1600,6 +1600,8 @@ else {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!lp->conn)
|
||||||
|
lp->modembits &= ~(TMXR_MDM_DCD | TMXR_MDM_CTS);
|
||||||
if ((lp->master) || (lp->mp && lp->mp->master) ||
|
if ((lp->master) || (lp->mp && lp->mp->master) ||
|
||||||
(lp->port && lp->destination))
|
(lp->port && lp->destination))
|
||||||
incoming_state = TMXR_MDM_DSR;
|
incoming_state = TMXR_MDM_DSR;
|
||||||
|
|||||||
Reference in New Issue
Block a user