support ipv6 netmask notation. - part of adding ipv6 info into the lib