Fix bug srv_net.c