Merge pull request #1435 from TDT-GmbH/proto_4x6_pattern_fix

luci-proto-ipv6: fix patterns in proto_4x6.lua
This commit is contained in:
Jo-Philipp Wich 2017-11-10 14:06:54 +01:00 committed by GitHub
commit e0a7227a0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,10 +54,10 @@ for _, p in ipairs({"dslite", "map", "464xlat"}) do
end
if p == "dslite" then
netmod:register_pattern_virtual("^ds-%w")
netmod:register_pattern_virtual("^ds%-%w")
elseif p == "map" then
netmod:register_pattern_virtual("^map-%w")
netmod:register_pattern_virtual("^map%-%w")
elseif p == "464xlat" then
netmod:register_pattern_virtual("^464-%w")
netmod:register_pattern_virtual("^464%-%w")
end
end