forked from extern/shorewall_code
Add a comment
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
70242c0d00
commit
2a965d42b9
@ -1316,7 +1316,7 @@ sub optimize_chain( $ ) {
|
||||
my $rules = $chainref->{rules};
|
||||
my $count = 0;
|
||||
|
||||
pop @$rules;
|
||||
pop @$rules; # Pop the plain -j ACCEPT rule at the end of the chain
|
||||
|
||||
pop @$rules, $count++ while @$rules && $rules->[-1] =~ /-j ACCEPT\b/;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user