Fixed bug when survey called with ipv6