diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2023-06-10 21:51:09 +0300 |
---|---|---|
committer | Sergey Ponomarev <stokito@gmail.com> | 2023-06-10 21:51:09 +0300 |
commit | b5ba9c3741d7e554463035e623b7d7e52c84d1fb (patch) | |
tree | 7fde36bf19ed164ebd863cbcf2e742bd13337303 /applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js | |
parent | fa775eed8a71ef4139e116fbc20e18ce4ba0df4c (diff) |
luci-app-firewall: missing variable declaration
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
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], |