2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

[master] delayed-ack is now compiled in by default

Merges in rt42444.
This commit is contained in:
Thomas Markwalder
2017-12-13 13:55:57 -05:00
parent 2f3eca17e2
commit 4406f9b05d
9 changed files with 67 additions and 41 deletions

View File

@@ -3574,7 +3574,7 @@ void ack_lease (packet, lease, offer, when, msg, ms_nulltp, hp)
} else {
lease->cltt = cur_time;
#if defined(DELAYED_ACK) && !defined(DHCP4o6)
if (enqueue)
if (enqueue && max_outstanding_acks != 0)
delayed_ack_enqueue(lease);
else
#endif