* No need to set the family there, the domain is what matters.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40446 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b18832d423
commit
0e4bbb1bee
|
@ -422,7 +422,7 @@ BNetworkInterface::FindFirstAddress(int family)
|
||||||
|
|
||||||
strlcpy(request.ifra_name, Name(), IF_NAMESIZE);
|
strlcpy(request.ifra_name, Name(), IF_NAMESIZE);
|
||||||
request.ifra_index = -1;
|
request.ifra_index = -1;
|
||||||
request.ifra_addr.ss_family = family;
|
request.ifra_addr.ss_family = AF_UNSPEC;
|
||||||
|
|
||||||
if (ioctl(socket, B_SOCKET_GET_ALIAS, &request, sizeof(struct ifaliasreq))
|
if (ioctl(socket, B_SOCKET_GET_ALIAS, &request, sizeof(struct ifaliasreq))
|
||||||
< 0)
|
< 0)
|
||||||
|
|
Loading…
Reference in New Issue