* Don't overwrite the family if it is being passed as int32.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39600 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-11-23 22:20:11 +00:00
parent e3feb1f8af
commit 6d3838e37c
1 changed files with 5 additions and 3 deletions

View File

@ -384,11 +384,13 @@ NetServer::_ConfigureInterface(BMessage& interface)
if (addressMessage.FindString("family", &familyString) == B_OK) {
if (get_address_family(familyString) == AF_UNSPEC) {
// we don't support this family
fprintf(stderr, "%s: Ignore unknown family: %s\n", Name(),
familyString);
continue;
}
}
} else
family = AF_UNSPEC;
} else
family = AF_UNSPEC;
}
BNetworkInterface interface(device);
if (!interface.Exists()) {