dhcp: Clear expiration time on reset.
This commit is contained in:
parent
4047b9f75a
commit
b7c589e371
|
@ -352,6 +352,7 @@ impl Client {
|
||||||
net_trace!("DHCP reset");
|
net_trace!("DHCP reset");
|
||||||
self.state = ClientState::Discovering;
|
self.state = ClientState::Discovering;
|
||||||
self.next_egress = now;
|
self.next_egress = now;
|
||||||
|
self.lease_expiration = None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue