diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-12-06 21:44:26 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-12-06 21:44:26 +0300 |
commit | 618179e8a5ce78adeff358025031f36fac937dd9 (patch) | |
tree | d40062ed069f0894b9e419b58ab47299c31c7168 /accel-pppd/ctrl | |
parent | 8557ca019041374d43712506eecc21479f83b9e6 (diff) | |
download | accel-ppp-618179e8a5ce78adeff358025031f36fac937dd9.tar.gz accel-ppp-618179e8a5ce78adeff358025031f36fac937dd9.zip |
ipoe,pppoe: do not check for vlan-mon module is loaded
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r-- | accel-pppd/ctrl/ipoe/ipoe.c | 3 | ||||
-rw-r--r-- | accel-pppd/ctrl/pppoe/pppoe.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c index a969894c..fe5f2283 100644 --- a/accel-pppd/ctrl/ipoe/ipoe.c +++ b/accel-pppd/ctrl/ipoe/ipoe.c @@ -3277,9 +3277,6 @@ static void load_vlan_mon(struct conf_sect_t *sect) long mask[4096/8/sizeof(long)]; static int registered = 0; - if (!triton_module_loaded("vlan-mon")) - return; - if (!registered) { vlan_mon_register_proto(ETH_P_IP, ipoe_vlan_mon_notify); registered = 1; diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c index 4536040d..ff6b76f2 100644 --- a/accel-pppd/ctrl/pppoe/pppoe.c +++ b/accel-pppd/ctrl/pppoe/pppoe.c @@ -1867,9 +1867,6 @@ static void load_vlan_mon(struct conf_sect_t *sect) long mask[4096/8/sizeof(long)]; static int registered = 0; - if (!triton_module_loaded("vlan-mon")) - return; - if (!registered) { vlan_mon_register_proto(ETH_P_PPP_DISC, pppoe_vlan_mon_notify); registered = 1; |