summaryrefslogtreecommitdiffhomepage
path: root/libs/core
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-09 19:25:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-09 19:25:43 +0000
commitbe71f1c93a005d35c5b8ecdd00778f31e3785da9 (patch)
tree750ccb09c3bd4e92d3489441617f9ba5386f9fcd /libs/core
parent0d4ec2bbba8479154e63824e5315a0e0e01087a2 (diff)
libs/core: fix bug in contains_interface() implementation of PPPoE protocol
Diffstat (limited to 'libs/core')
-rw-r--r--libs/core/luasrc/model/network/proto_ppp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core/luasrc/model/network/proto_ppp.lua b/libs/core/luasrc/model/network/proto_ppp.lua
index 481ca5f31..af6f39402 100644
--- a/libs/core/luasrc/model/network/proto_ppp.lua
+++ b/libs/core/luasrc/model/network/proto_ppp.lua
@@ -78,7 +78,7 @@ for _, p in ipairs({"ppp", "pptp", "pppoe", "pppoa", "3g"}) do
if self:is_floating() then
return (netmod:ifnameof(ifc) == self:ifname())
else
- return netmod.protocol.contains_interface(self, ifname)
+ return netmod.protocol.contains_interface(self, ifc)
end
end