Revize 7b0aa652
Přidáno uživatelem Ondřej Fibich před více než 5 roky(ů)
application/helpers/valid.php | ||
---|---|---|
{
|
||
return false; // IP address does not match the subnet/mask
|
||
}
|
||
else if ($size > 1 && ($ip == $net || $ip == ($net + $size - 1)))
|
||
else if ($size > 2 && ($ip == $net || $ip == ($net + $size - 1)))
|
||
{
|
||
return false; // Invalid IP address
|
||
}
|
Také k dispozici: Unified diff
Adds support for subnet /31 (255.255.255.254). IP addresses can be added with network address and broadcast address. Subnet display fixes (fixes #1103).