dnsmasq UCI configuration dhcp.@host[n].ip needs to be optional
Username: d
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2484
UCI configuration
dhcp.@host[n].ip
needs to be optional.
According to
http://www.thekelleys.org.uk/dnsmasq/docs/dnsmasq-man.html
. dhcp-host isn’t just for static leases, it can be used to specify lease time, hostname etc, so IP isn’t mandatory. Their example is “For example –dhcp-host=00:20:e0:3b:13:af,wap,infinite tells dnsmasq to give the machine with hardware address 00:20:e0:3b:13:af the name wap, and an infinite DHCP lease.”
OpenWrt currently ignores dhcp.@host[n], if IP isn’t provided.
https://openwrt.org/docs/guide-user/base-system/dhcp#static_leases