Fix to allow coexistence of IPv4 and IPv6.