summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/ipoe/ipoe.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/ipoe/ipoe.c')
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 5e77c72..06ca52f 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -2729,9 +2729,10 @@ static void load_interfaces(struct conf_sect_t *sect)
}
list_for_each_entry(serv, &serv_list, entry) {
- if (!serv->active && !serv->vid) {
+ if (!serv->active) {
ipoe_nl_del_interface(serv->ifindex);
ipoe_drop_sessions(serv, NULL);
+ serv->need_close = 1;
triton_context_call(&serv->ctx, (triton_event_func)ipoe_serv_release, serv);
}
}