Net: fix ipv6 compile errors