From 932bae98738746e11d8b1b0bd9ac86009dd34452 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 10 Nov 2017 14:20:50 +0100 Subject: protocols: fix various interface patterns The virtual interface match patterns of various protocols were improperly quoted, causing them to over- or undermatch. Follow up of #1435. Signed-off-by: Jo-Philipp Wich --- protocols/luci-proto-ipip/luasrc/model/network/proto_ipip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/luci-proto-ipip') diff --git a/protocols/luci-proto-ipip/luasrc/model/network/proto_ipip.lua b/protocols/luci-proto-ipip/luasrc/model/network/proto_ipip.lua index 5c3761c9c..04d2e78b0 100644 --- a/protocols/luci-proto-ipip/luasrc/model/network/proto_ipip.lua +++ b/protocols/luci-proto-ipip/luasrc/model/network/proto_ipip.lua @@ -37,4 +37,4 @@ function proto.contains_interface(self, ifc) return (netmod:ifnameof(ifc) == self:ifname()) end -netmod:register_pattern_virtual("^ipip-%w") +netmod:register_pattern_virtual("^ipip%-%w") -- cgit v1.2.3