From be71f1c93a005d35c5b8ecdd00778f31e3785da9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 9 Oct 2011 19:25:43 +0000 Subject: libs/core: fix bug in contains_interface() implementation of PPPoE protocol --- libs/core/luasrc/model/network/proto_ppp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/core') 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 -- cgit v1.2.3