summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/ppp/ppp.c4
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;
}