Files
visualsubnetcalculator/subnets.html
Kevin A. Pieckiel 4cc28b8dd8 Change shift left operator to exponent operator to avoid overflow
Large numbers of hosts (/0 and /1 subnets) are overflowing and showing
as a negative number.  Changing 1<<(32-mask) to 2**(32-mask) causes
JavaScript to calculate the integer properly.
2023-01-06 18:22:45 -05:00

14 KiB