Use propper variable for is_ipaddrv6 test