forked from extern/shorewall_code
Correct handling of IPv6 address used in a net context
This commit is contained in:
parent
9f0f3ce216
commit
f92349edba
@ -596,6 +596,7 @@ sub validate_6net( $$ ) {
|
|||||||
} else {
|
} else {
|
||||||
fatal_error "Invalid Network address ($_[0])" if $_[0] =~ '/' || ! defined $net;
|
fatal_error "Invalid Network address ($_[0])" if $_[0] =~ '/' || ! defined $net;
|
||||||
validate_6address $net, $allow_name;
|
validate_6address $net, $allow_name;
|
||||||
|
$vlsm = 128;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( defined wantarray ) {
|
if ( defined wantarray ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user