Correct generation of list for ipv6