summaryrefslogtreecommitdiff
path: root/accel-pppd/ppp/ppp_ipv6cp.c
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2014-11-06 12:35:57 +0300
committerDmitry Kozlov <xeb@mail.ru>2014-11-06 12:35:57 +0300
commitb276238f8721849c364cf718f854c7b07a706254 (patch)
tree7072b043b36de7c82c6f2be745b6901c86c7ba38 /accel-pppd/ppp/ppp_ipv6cp.c
parent22e13bac6488cfbb939fc1f54133f966a0cc1e62 (diff)
downloadaccel-ppp-b276238f8721849c364cf718f854c7b07a706254.tar.gz
accel-ppp-b276238f8721849c364cf718f854c7b07a706254.zip
release IP addresses before fire EV_SESSION_FINISHED (fixes segfault when using IPoE)
Diffstat (limited to 'accel-pppd/ppp/ppp_ipv6cp.c')
-rw-r--r--accel-pppd/ppp/ppp_ipv6cp.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/accel-pppd/ppp/ppp_ipv6cp.c b/accel-pppd/ppp/ppp_ipv6cp.c
index ee66626..9a87922 100644
--- a/accel-pppd/ppp/ppp_ipv6cp.c
+++ b/accel-pppd/ppp/ppp_ipv6cp.c
@@ -209,11 +209,6 @@ static void ipv6cp_layer_finished(struct ppp_fsm_t *fsm)
ap_session_terminate(&ipv6cp->ppp->ses, TERM_USER_ERROR, 0);
fsm->fsm_state = FSM_Closed;
-
- if (ipv6cp->ppp->ses.ipv6) {
- ipdb_put_ipv6(&ipv6cp->ppp->ses, ipv6cp->ppp->ses.ipv6);
- ipv6cp->ppp->ses.ipv6 = NULL;
- }
}
static void ipv6cp_layer_down(struct ppp_fsm_t *fsm)