Another tiny optimizaiton

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8484 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2008-04-28 17:19:18 +00:00
parent cf62d0f084
commit da78a4d453

View File

@ -1474,8 +1474,7 @@ sub match_orig_dest ( $ ) {
return '' if $net eq ALLIPv4;
return '' unless $capabilities{CONNTRACK_MATCH};
if ( $net =~ /^!/ ) {
$net =~ s/!//;
if ( $net =~ s/^!// ) {
validate_net $net, 1;
"-m conntrack --ctorigdst ! $net ";
} else {