Revize 80d2769e
Přidáno uživatelem Ondřej Fibich před více než 5 roky(ů)
application/controllers/subnets.php | ||
---|---|---|
|
||
// subnet has gateway
|
||
$has_gateway = $subnet->has_gateway();
|
||
|
||
if ($has_gateway)
|
||
|
||
if ($has_gateway && $total_available != 2) // not for CIDR /31
|
||
{
|
||
$total_available = $total_available - 2;
|
||
|
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).