diff options
| author | John Estabrook <jestabro@vyos.io> | 2025-11-25 08:23:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-25 08:23:21 -0600 |
| commit | 48fe045a75a52e40217be4ba5a9696bc9ed2111b (patch) | |
| tree | 0fe28ebc5b09faa01b78da030646018d6f9807ec /data | |
| parent | fdda826b48688e253c30d3578ca5edd45b034ab0 (diff) | |
| parent | 3ca132fe22f732a7d4191e7e1c1d2b00d4206690 (diff) | |
| download | vyos-1x-48fe045a75a52e40217be4ba5a9696bc9ed2111b.tar.gz vyos-1x-48fe045a75a52e40217be4ba5a9696bc9ed2111b.zip | |
Merge pull request #4860 from sarthurdev/ping-check
kea: T7913: Fixes for ping-check handling
Diffstat (limited to 'data')
| -rw-r--r-- | data/templates/dhcp-server/kea-dhcp4.conf.j2 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/data/templates/dhcp-server/kea-dhcp4.conf.j2 b/data/templates/dhcp-server/kea-dhcp4.conf.j2 index 7302c2cad..8519689a9 100644 --- a/data/templates/dhcp-server/kea-dhcp4.conf.j2 +++ b/data/templates/dhcp-server/kea-dhcp4.conf.j2 @@ -28,6 +28,9 @@ "persist": true, "name": "{{ lease_file }}" }, + "multi-threading": { + "enable-multi-threading": true + }, {% if client_class is vyos_defined %} "client-classes": {{ client_class | kea_client_class_json }}, {% endif %} @@ -75,16 +78,18 @@ } }, {% endif %} +{% if any_ping_check is vyos_defined %} { "library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_ping_check.so", "parameters": { - "enable-ping-check" : false, + "enable-ping-check" : true, "min-ping-requests" : 1, "reply-timeout" : 100, "ping-cltt-secs" : 60, "ping-channel-threads" : 0 } }, +{% endif %} { "library": "/usr/lib/{{ machine }}-linux-gnu/kea/hooks/libdhcp_lease_cmds.so", "parameters": {} |
