Ticket #2531: patch-dhcp.2.diff

File patch-dhcp.2.diff, 470 bytes (added by Adek336, 16 years ago)
  • src/servers/net/DHCPClient.cpp

     
    569569        if (fRebindingTime == 0)
    570570            fRebindingTime = fLeaseTime * 5/6;
    571571
     572        bigtime_t now = system_time();
    572573        _RestartLease(fRenewalTime);
    573574
    574         bigtime_t now = system_time();
    575575        fLeaseTime += now;
    576576        fRenewalTime += now;
    577577        fRebindingTime += now;