Fixed a typo in net.c