mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 01:37:59 +02:00
Don't add trailing whitespace to DNAT/REDIRECT target
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
468c918121
commit
47fbc83419
@ -1134,7 +1134,7 @@ sub process_rule1 ( $$$$$$$$$$$$$ ) {
|
|||||||
$dest = $2;
|
$dest = $2;
|
||||||
} elsif ( $dest =~ /.*\..*\./ ) {
|
} elsif ( $dest =~ /.*\..*\./ ) {
|
||||||
#
|
#
|
||||||
# Appears to be an address
|
# Appears to be an IPv4 address (no NAT in IPv6)
|
||||||
#
|
#
|
||||||
$destzone = '-';
|
$destzone = '-';
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user