From be71f1c93a005d35c5b8ecdd00778f31e3785da9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 9 Oct 2011 19:25:43 +0000 Subject: [PATCH] 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(-) diff --git a/libs/core/luasrc/model/network/proto_ppp.lua b/libs/core/luasrc/model/network/proto_ppp.lua index 481ca5f31e..af6f394025 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 -- 2.30.2