Commit c35cfbce authored by Franco Fichtner's avatar Franco Fichtner

openvpn: tab in previous

parent c3e74008
......@@ -294,7 +294,7 @@ function openvpn_validate_cidr_ipv4($value)
}
/* IPv4 case is very strict, cannot be a host address */
$mask = (0xffffffff << (32 - $mask)) & 0xffffffff;
if ((ip2long($ip) & $mask) != ip2long($ip)) {
if ((ip2long($ip) & $mask) != ip2long($ip)) {
return false;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment