Correct error message when multiple SNAT addresses are present.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2016-11-02 12:27:32 -07:00
parent 60619fb3cb
commit 9ae36e1989
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10

View File

@ -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 =~ /^([&%])(.+)$/ ) {