forked from extern/shorewall_code
Fix inversion rules (omitted hunk)
Signed-off-by: Tom Eastep <teastep@shorewall.net> git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9797 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
e2c5ad441a
commit
844bb448c7
@ -1399,7 +1399,7 @@ sub do_proto( $$$ )
|
||||
$invert = $ports =~ s/^!// ? '! ' : '';
|
||||
fatal_error 'Multiple ICMP types are not permitted' if $ports =~ /,/;
|
||||
$ports = validate_icmp $ports;
|
||||
$output .= "--icmp-type ${invert}${ports} ";
|
||||
$output .= "${invert}--icmp-type ${ports} ";
|
||||
}
|
||||
|
||||
fatal_error 'SOURCE PORT(S) not permitted with ICMP' if $sports ne '';
|
||||
|
Loading…
Reference in New Issue
Block a user