luci-app-statistics: iptables.js: fix rule match expression
Fixes: #3658 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
c16f91ccb9
commit
27d63e7e71
@ -33,7 +33,7 @@ return L.Class.extend({
|
||||
table = m[1];
|
||||
count = {};
|
||||
}
|
||||
else if ((m = lines[i].match(/^-A (.+?) (-.+)$/)) != null) {
|
||||
else if ((m = lines[i].match(/^-A (.+?) ([!-].+)$/)) != null) {
|
||||
count[m[1]] = (count[m[1]] || 0) + 1;
|
||||
|
||||
iptables[table] = iptables[table] || {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user