2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#490,!284] Extended commentary per review comments.

This commit is contained in:
Marcin Siodelski
2019-03-27 20:36:43 +01:00
parent 6a0af2500b
commit 63b6195876
2 changed files with 6 additions and 2 deletions

View File

@@ -536,7 +536,9 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
// backend is the dynamic inheritance whereby each subnet and shared
// network uses a callback function to return global parameter if it
// is not specified at lower level. This callback uses configured globals.
// Let's store all globals there so as they can be accessed.
// We deliberately include both default and explicitly specified globals
// so as the callback can access the appropriate global values regardless
// whether they are set to a default or other value.
if ( (config_pair.first == "renew-timer") ||
(config_pair.first == "rebind-timer") ||
(config_pair.first == "valid-lifetime") ||