* 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:
Axel Dörfler 2011-02-11 20:19:33 +00:00
parent b18832d423
commit 0e4bbb1bee
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ BNetworkInterface::FindFirstAddress(int family)
strlcpy(request.ifra_name, Name(), IF_NAMESIZE);
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))
< 0)