提交 546e33e6 编写于 作者: D Dmitry Kozlov

ipoe: remove interfaces started by vlan_mon if they do not match config (on reload)

上级 cf87269e
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册