Make a piece of code more compact

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6418 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-20 13:49:50 +00:00
parent 38cf2ad2ed
commit 65b270e5b6

View File

@ -124,11 +124,7 @@ sub setup_one_masq($$$$$$$)
#
# Leading '+'
#
if ( $fullinterface =~ /^\+/ ) {
$pre_nat = 1;
$fullinterface =~ s/\+//;
}
$pre_nat = 1 if $fullinterface =~ s/^\+//;
#
# Parse the remaining part of the INTERFACE column
#