mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-15 12:14:32 +01:00
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:
parent
38cf2ad2ed
commit
65b270e5b6
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user