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:
teastep 2009-04-04 15:09:17 +00:00
parent e2c5ad441a
commit 844bb448c7

View File

@ -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 '';