From 1fc8d021edc6d60b49b607c917d23b0655a69d47 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 6 Aug 2019 15:19:15 +0200 Subject: protocols: fix contains_interface() implementation in several backends Signed-off-by: Jo-Philipp Wich --- protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua') diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua index 9a4396c5be..2fd0b11957 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/network/proto_6x4.lua @@ -42,7 +42,7 @@ for _, p in ipairs({"6in4", "6to4", "6rd"}) do return nil end - function proto.contains_interface(self, ifname) + function proto.contains_interface(self, ifc) return (netmod:ifnameof(ifc) == self:ifname()) end -- cgit v1.2.3