summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2015-12-04 20:30:27 +0300
committerDmitry Kozlov <xeb@mail.ru>2015-12-04 20:30:27 +0300
commit9ba935fac2880939921d98b0b238d11a8cf1f3f6 (patch)
tree12465aa1e9712b710fb64f04befab2f7425d1ed8
parent1e30436e2e19e693e54cfdb0cb68ae162300ca55 (diff)
downloadaccel-ppp-9ba935fac2880939921d98b0b238d11a8cf1f3f6.tar.gz
accel-ppp-9ba935fac2880939921d98b0b238d11a8cf1f3f6.zip
ipoe: fixed call ipoe_lua_make_vlan_name after merging vlanmon
-rw-r--r--accel-pppd/ctrl/ipoe/ipoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/ipoe/ipoe.c b/accel-pppd/ctrl/ipoe/ipoe.c
index 05a9ff53..536fb252 100644
--- a/accel-pppd/ctrl/ipoe/ipoe.c
+++ b/accel-pppd/ctrl/ipoe/ipoe.c
@@ -2283,7 +2283,7 @@ void ipoe_vlan_mon_notify(int ifindex, int vid)
#ifdef USE_LUA
if (!memcmp(conf_vlan_name, "lua:", 4))
- r = ipoe_lua_make_vlan_name(conf_vlan_name + 4, parent, svid, cvid, name);
+ r = ipoe_lua_make_vlan_name(conf_vlan_name + 4, ifr.ifr_name, svid, vid, ifname);
else
#endif
r = make_vlan_name(conf_vlan_name, ifr.ifr_name, svid, vid, ifname);