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

[master] Delayed-ack now works correctly with failover

Merges in 31474.
This commit is contained in:
Thomas Markwalder
2015-06-15 15:19:42 -04:00
parent 3933e2aa51
commit e422b8c78f
5 changed files with 65 additions and 33 deletions

View File

@@ -1059,7 +1059,8 @@ void postconf_initialization (int quiet)
data_string_forget(&db, MDL);
}
}
#if defined(DELAYED_ACK)
oc = lookup_option(&server_universe, options, SV_DELAYED_ACK);
if (oc &&
evaluate_option_cache(&db, NULL, NULL, NULL, options, NULL,
@@ -1087,6 +1088,7 @@ void postconf_initialization (int quiet)
data_string_forget(&db, MDL);
}
#endif
oc = lookup_option(&server_universe, options, SV_DONT_USE_FSYNC);
if ((oc != NULL) &&