Fix URL
This commit is contained in:
parent
386615976e
commit
814c0dbc0f
@ -25,7 +25,7 @@ function ip4_in_cidr($ip, $cidr) {
|
|||||||
* @param string $ip IP to check in IPV6 format
|
* @param string $ip IP to check in IPV6 format
|
||||||
* @param string $cidr CIDR netmask
|
* @param string $cidr CIDR netmask
|
||||||
* @return boolean true if the IP is in this range, false otherwise.
|
* @return boolean true if the IP is in this range, false otherwise.
|
||||||
* @author MW. <https://stackoverflow.com/a/7952169/2534036>
|
* @author MW. <https://stackoverflow.com/a/7952169>
|
||||||
*/
|
*/
|
||||||
function ip6_in_cidr($ip, $cidr) {
|
function ip6_in_cidr($ip, $cidr) {
|
||||||
$address = inet_pton($ip);
|
$address = inet_pton($ip);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user