DHCP static lease timeout not copied to /var/etc/dnsmasq.conf

When setting static DHCP leases in Luci, I’ve noticed the leastime configured appears in /etc/config/dhcp, but does not get copied to /var/etc/dnsmasq.conf so it doesn’t get applied.


config host
    option name 'Device name'
    option mac 'xx:xx:xx:xx:xx:xx'
    option ip ''
    option leasetime '43200'


dhcp-host=xx:xx:xx:xx:xx:xx,,Device name

If that is on TOS3.x it is likely a known bug pertaining to the lease time for clients being assigned a static ip. Unlikely that it will be fixed in TOS3.x since developer efforts probably focussing on getting TOS4.x on the road.

Yep, I’m on TOS3.11.5 so I’ll wait for 4.x then. It’s certainly not a major issue, just a little annoying.