diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-11-10 14:06:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-10 14:06:54 +0100 |
commit | e0a7227a0c61217d97597b18b9afe63ea341d9e6 (patch) | |
tree | bfaad7fafa71d9a592443198524c6482562e28a4 /protocols/luci-proto-ipv6/luasrc/model | |
parent | b2274e5d6d27cdd0819d9e35058ebcd2cb8b55f5 (diff) | |
parent | f8b1b8a47ad985b577484c281ddd31dff16f24fb (diff) |
Merge pull request #1435 from TDT-GmbH/proto_4x6_pattern_fix
luci-proto-ipv6: fix patterns in proto_4x6.lua
Diffstat (limited to 'protocols/luci-proto-ipv6/luasrc/model')
-rw-r--r-- | protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua b/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua index d876d69ba8..ad99073ad6 100644 --- a/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua +++ b/protocols/luci-proto-ipv6/luasrc/model/network/proto_4x6.lua @@ -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 |