Skip to content

Commit

Permalink
dhcp: Clear expiration time on reset.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirbaio committed Apr 7, 2021
1 parent 5dbeada commit a7d5192
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dhcp/clientv4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,7 @@ impl Client {
net_trace!("DHCP reset");
self.state = ClientState::Discovering;
self.next_egress = now;
self.lease_expiration = None;
}
}

Expand Down

0 comments on commit a7d5192

Please sign in to comment.