fixed len confusion for IPV4 / IPV6 addresses