dhcp: Clear expiration time on reset.

v0.7.x
Dario Nieuwenhuis 2021-04-01 19:49:39 +02:00
parent 4047b9f75a
commit b7c589e371
1 changed files with 1 additions and 0 deletions

View File

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