Reset ipv6 flag to false in every api-allow loop