mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-31 06:15:55 +00:00
remove redundant test, unsigned is always >= 0
This commit is contained in:
@@ -2465,8 +2465,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
|
||||
evaluate_option_cache(&d1, packet, lt, NULL,
|
||||
packet->options, state->options,
|
||||
<->scope, oc, MDL)) {
|
||||
if (d1.len == 1 &&
|
||||
(d1.data[0] >= 0) && (d1.data[0] < 100))
|
||||
if (d1.len == 1 && (d1.data[0] < 100))
|
||||
thresh = d1.data[0];
|
||||
|
||||
data_string_forget(&d1, MDL);
|
||||
|
Reference in New Issue
Block a user