Fixed a bug that caused libbind.so to not resolve the name:

UDP did not set AF_INET in the sockaddr that is passed to recvfrom().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7211 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald
2004-04-15 16:11:19 +00:00
parent 25ae6950d9
commit feb699f996
@@ -338,6 +338,7 @@ static void udp_init(void)
udb.inp_prev = udb.inp_next = &udb;
udp_sendspace = 9216; /* default size */
udp_recvspace = 41600; /* default size */
udp_in.sin_family = AF_INET;
udp_in.sin_len = sizeof(udp_in);
memset(&udpstat, 0, sizeof(udpstat));