Patches to fix type on IPv6.