diff --git a/subnets.html b/subnets.html index b77ab14..38e756d 100644 --- a/subnets.html +++ b/subnets.html @@ -370,7 +370,7 @@ function network_address(ip, mask) function subnet_addresses(mask) { - return 1<<(32-mask); + return 2**(32-mask); } function subnet_last_address(subnet, mask)