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