From d3b69a6ce31e7bbd14dfb66f71ea66739f524bbe Mon Sep 17 00:00:00 2001 From: skorpy <magnus@skorpy.space> Date: Sun, 23 Jun 2024 20:45:46 +0000 Subject: [PATCH] kea: fix mtu (-32) --- kea-dhcp/files/kea-dhcp4.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kea-dhcp/files/kea-dhcp4.conf.j2 b/kea-dhcp/files/kea-dhcp4.conf.j2 index cb0448df..97413469 100644 --- a/kea-dhcp/files/kea-dhcp4.conf.j2 +++ b/kea-dhcp/files/kea-dhcp4.conf.j2 @@ -66,7 +66,7 @@ {%- endif %} {%- if 'mtu' in domainData %}{%- if hasOption %},{%- endif %} {%- set hasOption = true %} - {"name": "interface-mtu", "data": "{{ domainData.mtu }}"} + {"name": "interface-mtu", "data": "{{ domainData.mtu - 32 }}"} {%- endif %} {%- if 'name_servers' in instance %}{%- if hasOption %},{%- endif %} {%- set hasOption = true %} -- GitLab