Skip to content

Commit

Permalink
luci-app-statistics: Fix b4a25a1 "Fix variable scope"
Browse files Browse the repository at this point in the history
Add the missing parenthesis to line 199, removed by b4a25a1.

Fixes commit b4a25a1

Signed-off-by: Hannu Nyman <[email protected]>
  • Loading branch information
hnyman committed Sep 15, 2024
1 parent 169cec0 commit b975188
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit b975188

Please sign in to comment.