From: Philip Prindeville Date: Mon, 17 Jul 2023 21:31:16 +0000 (-0600) Subject: isc-dhcp: some IoTs need forced rebinding/renewal times X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=refs%2Fpull%2F21597%2Fhead;p=feed%2Fpackages.git 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 --- 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)