diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 20:33:46 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 20:33:46 +0300 |
commit | 1639b17d0126f1dec0a8823d33c0a88cf681184d (patch) | |
tree | 3d242f53853db94046eefe72cd807f3b17ff0b10 | |
parent | be65cd225bb615f5f6c1c6199a853c9018079c83 (diff) | |
download | accel-ppp-1639b17d0126f1dec0a8823d33c0a88cf681184d.tar.gz accel-ppp-1639b17d0126f1dec0a8823d33c0a88cf681184d.zip |
ppp: if ipcp not started terminate session softly
-rw-r--r-- | accel-pptpd/ppp/ppp_ipcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/ppp/ppp_ipcp.c b/accel-pptpd/ppp/ppp_ipcp.c index 0e743a1c..88ac575f 100644 --- a/accel-pptpd/ppp/ppp_ipcp.c +++ b/accel-pptpd/ppp/ppp_ipcp.c @@ -156,7 +156,7 @@ static void ipcp_layer_down(struct ppp_fsm_t *fsm) ipcp->started = 0; ppp_layer_finished(ipcp->ppp, &ipcp->ld); } else - ppp_terminate(ipcp->ppp, TERM_NAS_ERROR, 1); + ppp_terminate(ipcp->ppp, TERM_NAS_ERROR, 0); } static void print_ropt(struct recv_opt_t *ropt) |