summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2018-03-03 12:13:58 +0300
committerDmitry Kozlov <xeb@mail.ru>2018-03-03 12:13:58 +0300
commitf5313ce5dc5192f4539eceacd621bfe193a0eb97 (patch)
treeac61d82a5615f5aa11d4e02e69f47627d0026488 /accel-pppd/ppp
parent8028b5739030e2c905d9c86ff797bcb488ae6b06 (diff)
parent120d9cb4b14fb524d71924db96cca0d91a5ca281 (diff)
downloadaccel-ppp-f5313ce5dc5192f4539eceacd621bfe193a0eb97.tar.gz
accel-ppp-f5313ce5dc5192f4539eceacd621bfe193a0eb97.zip
Merge branch '1.11' of https://github.com/xebd/accel-ppp into 1.11
Diffstat (limited to 'accel-pppd/ppp')
-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 264ae136..1ee26f4e 100644
--- a/accel-pppd/ppp/ppp.c
+++ b/accel-pppd/ppp/ppp.c
@@ -558,8 +558,10 @@ int __export ppp_terminate(struct ap_session *ses, int hard)
}
}
- if (!s)
+ if (!s) {
destablish_ppp(ppp);
+ return 0;
+ }
return 1;
}