Ticket #2531: patch-dhcp.1.diff
File patch-dhcp.1.diff, 713 bytes (added by , 16 years ago) |
---|
-
src/servers/net/DHCPClient.cpp
383 383 status_t 384 384 DHCPClient::_Negotiate(dhcp_state state) 385 385 { 386 if (state != INIT 387 && state != REBINDING 388 && state != RENEWAL) 389 fprintf(stderr, "DHCP client: negotiating: unexpected state %d\n", state); 386 390 int socket = ::socket(AF_INET, SOCK_DGRAM, 0); 387 391 if (socket < 0) 388 392 return errno; … … 594 598 return; 595 599 596 600 BMessage lease(kMsgLeaseTime); 597 fRunner = new BMessageRunner(this, &lease, leaseTime , 1);601 fRunner = new BMessageRunner(this, &lease, leaseTime+1000, 1); 598 602 } 599 603 600 604