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 <philipp@redfish-solutions.com>
This commit is contained in:
Philip Prindeville 2023-07-17 15:31:16 -06:00
parent 95829546d0
commit 1e48b28c3f

View file

@ -297,6 +297,10 @@ static_host_add() {
extra_options="$extra_options${extra_options:+ }0c" ;; extra_options="$extra_options${extra_options:+ }0c" ;;
domain-name) domain-name)
extra_options="$extra_options${extra_options:+ }0f" ;; 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) fqdn)
extra_options="$extra_options${extra_options:+ }51" ;; extra_options="$extra_options${extra_options:+ }51" ;;
routes) routes)