forked from extern/shorewall_code
Correct formatting of empty arguments to add_commands
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
bfd69c33c7
commit
a80b04bd74
@ -728,6 +728,8 @@ sub format_option( $$ ) {
|
||||
sub format_rule( $$;$ ) {
|
||||
my ( $chainref, $ruleref, $suppresshdr ) = @_;
|
||||
|
||||
return $ruleref->{cmd} if exists $ruleref->{cmd};
|
||||
|
||||
my $rule = $suppresshdr ? '' : "-A $chainref->{name}";
|
||||
|
||||
for ( qw/ p i s o d / ) {
|
||||
|
Loading…
Reference in New Issue
Block a user