diff options
Diffstat (limited to 'accel-pppd/ppp')
-rw-r--r-- | accel-pppd/ppp/ppp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/ppp/ppp.c b/accel-pppd/ppp/ppp.c index e511bf8..053d3b1 100644 --- a/accel-pppd/ppp/ppp.c +++ b/accel-pppd/ppp/ppp.c @@ -572,8 +572,10 @@ int __export ppp_terminate(struct ap_session *ses, int hard) } } - if (!s) + if (!s) { destablish_ppp(ppp); + return 0; + } return 1; } |