diff options
author | Jo-Philipp Wich <jo@mein.io> | 2023-06-23 12:03:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-23 12:03:48 +0200 |
commit | fbe18753fbdadabe55e7a7b4e143147699224e73 (patch) | |
tree | 84f87fb2d230f0978b01c2e3a0253e6722d10129 /applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js | |
parent | 5865d02bfd9dad34e2d3106d57675045d8eb235c (diff) | |
parent | b5ba9c3741d7e554463035e623b7d7e52c84d1fb (diff) |
Merge pull request #6428 from stokito/luci-app-firewall
luci-app-firewall: missing variable declaration
Diffstat (limited to 'applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js')
-rw-r--r-- | applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js index 759c23e0d9..3c1bbaaa2a 100644 --- a/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js +++ b/applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js @@ -23,7 +23,7 @@ function rule_proto_txt(s) { }; }); - m = String(uci.get('firewall', s, 'mark')).match(/^(!\s*)?(0x[0-9a-f]{1,8}|[0-9]{1,10})(?:\/(0x[0-9a-f]{1,8}|[0-9]{1,10}))?$/i); + var m = String(uci.get('firewall', s, 'mark')).match(/^(!\s*)?(0x[0-9a-f]{1,8}|[0-9]{1,10})(?:\/(0x[0-9a-f]{1,8}|[0-9]{1,10}))?$/i); var f = m ? { val: m[0].toUpperCase().replace(/X/g, 'x'), inv: m[1], |