dhcp: Clear expiration time on reset.

This commit is contained in:
Dario Nieuwenhuis 2021-04-01 19:49:39 +02:00
parent 562f12ffed
commit 1d19ff8d91
1 changed files with 1 additions and 0 deletions

View File

@ -356,6 +356,7 @@ impl Client {
net_trace!("DHCP reset");
self.state = ClientState::Discovering;
self.next_egress = now;
self.lease_expiration = None;
}
}