-
Notifications
You must be signed in to change notification settings - Fork 440
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix DHCPv4 panic when T1 < T2 < lease duration is not respected
When receiving T1 and T2 values from the DHCP server, they must be in the order T1 < T2 < lease duration. If this order is not respected, the defaults should be used. This patch adds a check to ensure that the order is respected and uses the defaults otherwise. Signed-off-by: Thibaut Vandervelden <thvdveld@vub.be>
- Loading branch information
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters