From 1e48b28c3f23a5aa2afff31dda77a212ca77b31a Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Mon, 17 Jul 2023 15:31:16 -0600 Subject: [PATCH] isc-dhcp: some IoTs need forced rebinding/renewal times I've noticed my AppleTV's refresh their leases ever minute unless I explicitly force their renewal time higher, because it doesn't default to 50% of the lease time. Signed-off-by: Philip Prindeville --- net/isc-dhcp/files/dhcpd.init | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net/isc-dhcp/files/dhcpd.init b/net/isc-dhcp/files/dhcpd.init index 309d3ec87a..3825944845 100755 --- a/net/isc-dhcp/files/dhcpd.init +++ b/net/isc-dhcp/files/dhcpd.init @@ -297,6 +297,10 @@ static_host_add() { extra_options="$extra_options${extra_options:+ }0c" ;; domain-name) extra_options="$extra_options${extra_options:+ }0f" ;; + renewal-time) + extra_options="$extra_options${extra_options:+ }3a" ;; + rebinding-time) + extra_options="$extra_options${extra_options:+ }3b" ;; fqdn) extra_options="$extra_options${extra_options:+ }51" ;; routes) -- 2.30.2