set last netmask when doing ipv6 lookup