summaryrefslogtreecommitdiffhomepage
path: root/protocols/luci-proto-vpnc/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2017-11-10 14:20:50 +0100
committerJo-Philipp Wich <jo@mein.io>2017-11-10 14:20:53 +0100
commit932bae98738746e11d8b1b0bd9ac86009dd34452 (patch)
tree098d23008d0c203ee5314c945565e5ebefa9fd43 /protocols/luci-proto-vpnc/luasrc
parente0a7227a0c61217d97597b18b9afe63ea341d9e6 (diff)
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 <jo@mein.io>
Diffstat (limited to 'protocols/luci-proto-vpnc/luasrc')
-rw-r--r--protocols/luci-proto-vpnc/luasrc/model/network/proto_vpnc.lua2
1 files changed, 1 insertions, 1 deletions
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")