Revert IPv4 changes in net.c.