Revize 7b0aa652
Přidáno uživatelem Ondřej Fibich před více než 5 roky(ů)
application/controllers/ip_addresses.php | ||
---|---|---|
'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)))
|
||
{
|
||
$input->add_error('required', __('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).