Clear target modifiers in interface loop

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-10-30 16:25:17 -07:00
parent 282253022e
commit 95a1e65016
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -5455,6 +5455,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
my $rule = '';
my $saveaddresses = $addresses;
my $savetarget = $target;
my $interface = $fullinterface;
$interface =~ s/:.*//; #interface name may include 'alias'
@ -5722,6 +5723,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
}
$addresses = $saveaddresses;
$target = $savetarget;
}
progress_message " Snat record \"$currentline\" $done"