Fix ipv6 addresses exporting.