[underConstruction] IPv6 support
-
Hi,
Currently your plugin doesn’t support IPv6 whitelist addresses. To add IPv6 support is easy, change line 114 in ucOptions.php from:
$ip = long2ip(ip2long($ip))
in:
$ip = inet_ntop(inet_pton($ip))To make sure it all goes well with packed addresses, change line 89 in underConstruction.php from:
if(!in_array($_SERVER['REMOTE_ADDR'], $array))
in:
if(!in_array(inet_ntop(inet_pton($_SERVER['REMOTE_ADDR'])), $array))Maybe you could patch this in future versions of underConstruction.
Jasper
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
The topic ‘[underConstruction] IPv6 support’ is closed to new replies.