Parent Directory | Revision Log | Patch
revision 1.8 by gray, Fri Aug 15 13:31:22 2003 UTC | revision 1.9 by gray, Fri Oct 31 13:08:30 2003 UTC | |
---|---|---|
# | Line 92 get_first_ip_nameindex() | Line 92 get_first_ip_nameindex() |
92 | struct ifconf ifc; | struct ifconf ifc; |
93 | struct sockaddr_in *sinp; | struct sockaddr_in *sinp; |
94 | int rq_len, last_len; | int rq_len, last_len; |
95 | int fd = socket (AF_INET, SOCK_STREAM, 0); | int fd = socket (PF_INET, SOCK_STREAM, 0); |
96 | ||
97 | if (fd == -1) | if (fd == -1) |
98 | return INADDR_ANY; | return INADDR_ANY; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |