Comment out non-working code, fix ipv4 function