mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
we know it is called rpclose() so call it directly.
This commit is contained in:
parent
733634738e
commit
c530c970bc
1 changed files with 1 additions and 1 deletions
|
|
@ -699,7 +699,7 @@ static void rp_handle_port(struct rp_port *rp)
|
|||
if((tp->t_state & TS_CARR_ON)) {
|
||||
(void)ttyld_modem(tp, 0);
|
||||
if(ttyld_modem(tp, 0) == 0) {
|
||||
tp->t_close(tp);
|
||||
rpclose(tp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue