summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2016-04-04 16:53:12 +0300
committerDmitry Kozlov <xeb@mail.ru>2016-04-04 16:53:12 +0300
commit38277ffc234acaae8fa0d2832cc7ce5b05c32395 (patch)
tree2815af038d783e1a5edeaec34d80bfac66dfb521 /accel-pppd/ctrl/pppoe
parentf67292499b20f599f2bd744d2dcf0f6779581787 (diff)
downloadaccel-ppp-38277ffc234acaae8fa0d2832cc7ce5b05c32395.tar.gz
accel-ppp-38277ffc234acaae8fa0d2832cc7ce5b05c32395.zip
vlan_mon: make possible to work other module after message "vlan not started"
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c
index 70978cf3..4e4b3811 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.c
+++ b/accel-pppd/ctrl/pppoe/pppoe.c
@@ -1721,6 +1721,7 @@ void pppoe_vlan_mon_notify(int ifindex, int vid, int vlan_ifindex)
log_warn("pppoe: vlan %s not started\n", ifname);
iplink_vlan_del(ifr.ifr_ifindex);
+ vlan_mon_del_vid(ifindex, ETH_P_PPP_DISC, vid);
}
static void add_vlan_mon(const char *opt, long *mask)