ipv6 commit v2

inet_ntop(query->dst.af_family, &query->dst, addr, INET6_ADDRSTRLEN);