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.99rst.org/?a=commitdiff_plain;h=1e48b28c3f23a5aa2afff31dda77a212ca77b31a;p=openwrt-packages.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 309d3ec87..382594484 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)