mirror of
https://github.com/paulusmack/ppp.git
synced 2024-11-23 18:33:24 +08:00
Fix to avoid crashes after the stream closes up.
This commit is contained in:
parent
389090db3b
commit
e3d832b18e
@ -399,6 +399,7 @@ ppp_if_close(q)
|
||||
}
|
||||
p->pii_npq = NULL;
|
||||
p->pii_npq_tail = &p->pii_npq;
|
||||
p->pii_writeq = NULL;
|
||||
DLOG("ppp_if%d: closed\n", p - pii);
|
||||
}
|
||||
return(0); /* no work to be done */
|
||||
|
Loading…
Reference in New Issue
Block a user