Fix length->netmask conversions to avoid undefined behaviour.
2 files changed