ipv6.c cleaned up