git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
169cec0
)
luci-app-statistics: Fix b4a25a19a "Fix variable scope"
author
Hannu Nyman
<redacted>
Sun, 15 Sep 2024 12:51:21 +0000
(15:51 +0300)
committer
Hannu Nyman
<redacted>
Sun, 15 Sep 2024 12:51:21 +0000
(15:51 +0300)
Add the missing parenthesis to line 199, removed by
b4a25a19a
.
Fixes commit
b4a25a19a
Signed-off-by: Hannu Nyman <redacted>
applications/luci-app-statistics/root/usr/libexec/stat-genconfig
patch
|
blob
|
history
diff --git
a/applications/luci-app-statistics/root/usr/libexec/stat-genconfig
b/applications/luci-app-statistics/root/usr/libexec/stat-genconfig
index f184e880b2ac2e39ae49986fce43d0398b2e550e..130f8f3876149221bc094d194de372ef44eebeb9 100755
(executable)
--- 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}`;
git clone https://git.99rst.org/PROJECT