* 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:
parent
e3feb1f8af
commit
6d3838e37c
|
@ -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;
|
||||
}
|
||||
|
||||
BNetworkInterface interface(device);
|
||||
if (!interface.Exists()) {
|
||||
|
|
Loading…
Reference in New Issue