Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code

This commit is contained in:
Tom Eastep 2013-02-25 17:29:49 -08:00
commit fb17de0595

View File

@ -278,8 +278,10 @@ sub process_one_masq1( $$$$$$$$$$ )
$addr = $1;
if ( $addr =~ /^(.+)]-\[(.+)$/ ) {
if ( $addr =~ /^(.+)-(.+)$/ ) {
fatal_error "Correct address range syntax is '[<addr1>-<addr2>]'" if $addr =~ /]-\[/;
validate_range( $1, $2 );
$addr =~ s/]-\[/-/;
} else {
validate_address $addr, 0;
}