mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-29 11:04:03 +01:00
Correct validation of 4in6 addresses
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3258806f6c
commit
c319921365
@ -530,7 +530,7 @@ sub valid_6address( $ ) {
|
||||
return 0 unless valid_4address pop @address;
|
||||
$max = 6;
|
||||
$address = join ':', @address;
|
||||
return 1 if @address eq ':';
|
||||
return 1 if $address eq ':';
|
||||
} else {
|
||||
$max = 8;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user