diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-11-28 14:26:24 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-11-28 14:28:33 +0300 |
commit | 406f825a168f2155880392e5fb5aaf8f1ebc6851 (patch) | |
tree | c52bfdb8682876489ddc917acb5c44aee69aa901 | |
parent | 6fb04941ca41312909208938bfac4f753d3c277c (diff) | |
download | accel-ppp-406f825a168f2155880392e5fb5aaf8f1ebc6851.tar.gz accel-ppp-406f825a168f2155880392e5fb5aaf8f1ebc6851.zip |
ipoe: bug fix
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index c7db14aa..02956afe 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -1139,7 +1139,8 @@ static void ipoe_session_terminated(struct ipoe_session *ses) if (ses->l4_redirect_set) ipoe_change_l4_redirect(ses, 1); - ap_session_finished(&ses->ses); + if (!ses->ses.terminated) + ap_session_finished(&ses->ses); } static void ipoe_session_terminated_pkt(struct dhcpv4_packet *pack) |