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-vpnc/luasrc/model/network/proto_vpnc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/luci-proto-vpnc/luasrc/model/network') diff --git a/protocols/luci-proto-vpnc/luasrc/model/network/proto_vpnc.lua b/protocols/luci-proto-vpnc/luasrc/model/network/proto_vpnc.lua index f4cae0bd2a..6c3136e384 100644 --- a/protocols/luci-proto-vpnc/luasrc/model/network/proto_vpnc.lua +++ b/protocols/luci-proto-vpnc/luasrc/model/network/proto_vpnc.lua @@ -42,5 +42,5 @@ function proto.contains_interface(self, ifc) end -netmod:register_pattern_virtual("^vpn-%w") +netmod:register_pattern_virtual("^vpn%-%w") -- cgit v1.2.3