diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2024-09-15 15:51:21 +0300 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2024-09-15 15:51:21 +0300 |
commit | b9751888a1f08045e589a5e3c83094a81319bf0e (patch) | |
tree | 267f438496068f6c45aef3e8a75138bfc6e86af9 /applications/luci-app-statistics/root | |
parent | 169cec09bad0048e346e409a6291d44da1197d95 (diff) |
luci-app-statistics: Fix b4a25a19a "Fix variable scope"
Add the missing parenthesis to line 199, removed by b4a25a19a.
Fixes commit b4a25a19a
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Diffstat (limited to 'applications/luci-app-statistics/root')
-rwxr-xr-x | applications/luci-app-statistics/root/usr/libexec/stat-genconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-app-statistics/root/usr/libexec/stat-genconfig b/applications/luci-app-statistics/root/usr/libexec/stat-genconfig index f184e880b2..130f8f3876 100755 --- a/applications/luci-app-statistics/root/usr/libexec/stat-genconfig +++ b/applications/luci-app-statistics/root/usr/libexec/stat-genconfig @@ -196,7 +196,7 @@ function config_iptables(c) { let tname = `${s.table}`; let chain = `${s.chain}`; - if (match(tname, /^\S+$/) && match(chain, /^\S+$/) { + if (match(tname, /^\S+$/) && match(chain, /^\S+$/)) { str += `\t${verb} "${tname}" "${chain}"`; let rule = `${s.rule}`; |