mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 18:13:13 +01:00
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
This commit is contained in:
commit
fb17de0595
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user