mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 10:18:58 +02: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 '+'
|
# Leading '+'
|
||||||
#
|
#
|
||||||
if ( $fullinterface =~ /^\+/ ) {
|
$pre_nat = 1 if $fullinterface =~ s/^\+//;
|
||||||
$pre_nat = 1;
|
|
||||||
$fullinterface =~ s/\+//;
|
|
||||||
}
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Parse the remaining part of the INTERFACE column
|
# Parse the remaining part of the INTERFACE column
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user