summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 6d5345e2..e7c91b1a 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -576,9 +576,6 @@ static void __ipoe_session_activate(struct ipoe_session *ses)
{
uint32_t addr;
- if (ses->terminating)
- return;
-
if (ses->ifindex != -1) {
addr = 0;
if (!ses->ses.ipv4)
@@ -1299,18 +1296,11 @@ static void ipoe_drop_sessions(struct ipoe_serv *serv, struct ipoe_session *skip
if (ses == skip)
continue;
- ses->terminating = 1;
- if (ses->ifcfg) {
- ipoe_ifcfg_del(ses);
- ses->ifcfg = 0;
- }
-
if (ses->ses.state == AP_STATE_ACTIVE)
ap_session_ifdown(&ses->ses);
triton_context_call(&ses->ctx, (triton_event_func)__terminate, &ses->ses);
}
-
}
struct ipoe_serv *ipoe_find_serv(const char *ifname)