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

[#2279] add loggers to global parameters

This commit is contained in:
Razvan Becheriu
2022-01-21 18:38:12 +02:00
parent 54b9f090d2
commit eaaaa5601d
4 changed files with 4 additions and 2 deletions

View File

@@ -617,7 +617,6 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
(config_pair.first == "shared-networks") ||
(config_pair.first == "reservations") ||
(config_pair.first == "config-control") ||
(config_pair.first == "loggers") ||
(config_pair.first == "compatibility")) {
continue;
}
@@ -655,6 +654,7 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
(config_pair.first == "t2-percent") ||
(config_pair.first == "cache-threshold") ||
(config_pair.first == "cache-max-age") ||
(config_pair.first == "loggers") ||
(config_pair.first == "hostname-char-set") ||
(config_pair.first == "hostname-char-replacement") ||
(config_pair.first == "ddns-send-updates") ||

View File

@@ -755,7 +755,6 @@ configureDhcp6Server(Dhcpv6Srv& server, isc::data::ConstElementPtr config_set,
(config_pair.first == "reservations") ||
(config_pair.first == "config-control") ||
(config_pair.first == "relay-supplied-options") ||
(config_pair.first == "loggers") ||
(config_pair.first == "compatibility")) {
continue;
}
@@ -790,6 +789,7 @@ configureDhcp6Server(Dhcpv6Srv& server, isc::data::ConstElementPtr config_set,
(config_pair.first == "t2-percent") ||
(config_pair.first == "cache-threshold") ||
(config_pair.first == "cache-max-age") ||
(config_pair.first == "loggers") ||
(config_pair.first == "hostname-char-set") ||
(config_pair.first == "hostname-char-replacement") ||
(config_pair.first == "ddns-send-updates") ||

View File

@@ -48,6 +48,7 @@ CfgGlobals::nameToIndex = {
{ "ddns-update-on-renew", DDNS_UPDATE_ON_RENEW },
{ "ddns-use-conflict-resolution", DDNS_USE_CONFLICT_RESOLUTION },
{ "parked-packet-limit", PARKED_PACKET_LIMIT },
{ "loggers", LOGGERS },
// DHCPv4 specific parameters.
{ "echo-client-id", ECHO_CLIENT_ID },

View File

@@ -71,6 +71,7 @@ public:
DDNS_UPDATE_ON_RENEW,
DDNS_USE_CONFLICT_RESOLUTION,
PARKED_PACKET_LIMIT,
LOGGERS,
// DHCPv4 specific parameters.
ECHO_CLIENT_ID,