mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
Fix iptables parsing
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user