IPv6 support added to iteration module

IPv6 support added to iteration module