Swapped the definitions of ip4address and ip6address