* DHCPClient now passes communication problems with NetServer on to caller,
as a result failed DHPC-requests will no longer result in bogus static configurations (but an auto-config IP-address will be picked instead) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33049 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -550,10 +550,9 @@ DHCPClient::_Negotiate(dhcp_state state)
|
|||||||
|
|
||||||
// configure interface
|
// configure interface
|
||||||
BMessage reply;
|
BMessage reply;
|
||||||
Target().SendMessage(&fConfiguration, &reply);
|
status = Target().SendMessage(&fConfiguration, &reply);
|
||||||
|
if (status == B_OK)
|
||||||
if (reply.FindInt32("status", &fStatus) != B_OK)
|
status = reply.FindInt32("status", &fStatus);
|
||||||
status = B_OK;
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user