Revert last change, mixed up ipv4 and ipv6 length