forked from extern/shorewall_code
Correct error message when multiple SNAT addresses are present.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
60619fb3cb
commit
9ae36e1989
@ -5510,7 +5510,7 @@ sub process_snat1( $$$$$$$$$$$$ ) {
|
||||
my $addrlist = '';
|
||||
my @addrs = split_list $addresses, 'address';
|
||||
|
||||
fatal_error "Only one ADDRESS may be specified" if @addrs > 1;
|
||||
fatal_error "Only one SNAT address may be specified" if @addrs > 1;
|
||||
|
||||
for my $addr ( @addrs ) {
|
||||
if ( $addr =~ /^([&%])(.+)$/ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user