projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818c2e1
)
Fix iptables parsing
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 14 Jun 2010 07:19:02 +0000
(
00:19
-0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 14 Jun 2010 07:19:02 +0000
(
00:19
-0700)
firewall/firewall-lib.pl
patch
|
blob
|
history
diff --git
a/firewall/firewall-lib.pl
b/firewall/firewall-lib.pl
index
2739586
..
71544b4
100755
(executable)
--- a/
firewall/firewall-lib.pl
+++ b/
firewall/firewall-lib.pl
@@
-73,7
+73,7
@@
while(<FILE>) {
# New chain definition
$table->{'defaults'}->{$2} = '-';
}
- elsif (/^(\[[^\]]*\]\s+)?-(AI)\s+(\S+)(.*)/) {
+ elsif (/^(\[[^\]]*\]\s+)?-(A
|
I)\s+(\S+)(.*)/) {
# Rule definition
local $rule = { 'line' => $lnum,
'eline' => $lnum,