From: Jo-Philipp Wich Date: Sun, 9 Oct 2011 19:25:43 +0000 (+0000) Subject: libs/core: fix bug in contains_interface() implementation of PPPoE protocol X-Git-Tag: 0.11.0~1593 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be71f1c93a005d35c5b8ecdd00778f31e3785da9;p=oweals%2Fluci.git libs/core: fix bug in contains_interface() implementation of PPPoE protocol --- 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