diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-03-18 15:42:25 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-03-18 15:42:25 +0300 |
commit | 546e33e6f4d03f81341c0da91eac9fef8aa94f29 (patch) | |
tree | d7974860b077bb2ff84f4f27d47ac513ae636121 /accel-pppd/ctrl | |
parent | cf87269ef49d7f589f1f18c96e5795af8016bdf1 (diff) | |
download | accel-ppp-546e33e6f4d03f81341c0da91eac9fef8aa94f29.tar.gz accel-ppp-546e33e6f4d03f81341c0da91eac9fef8aa94f29.zip |
ipoe: remove interfaces started by vlan_mon if they do not match config (on reload)
Diffstat (limited to 'accel-pppd/ctrl')
-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 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); } } |