openwrtv3/package/network/services/dnsmasq/files
Jo-Philipp Wich fcfd5cdb59 dnsmasq: fix dhcp-host entries with empty macs
Due to improper localization of helper variables, "config host" entries
without a given mac address may inherit the mac address of a preceeding,
leading to invalid generated netive configuration.

Fix the issue by marking the "macs" and "tags" helper variables in
dhcp_host_add() local, avoiding the need for explicitely resetting them
with each invocation.

Reported-by: Russell Senior <russell@personaltelco.net>
Tested-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-28 18:11:25 +01:00
..
dhcp-script.sh dnsmasq: add dhcp-script hook for other packages 2017-05-26 21:28:30 +02:00
dhcp.conf dnsmasq: make bind-dynamic 'non-wildcard' interfaces default 2017-06-11 14:50:04 +02:00
dnsmasq.conf
dnsmasq.init dnsmasq: fix dhcp-host entries with empty macs 2017-11-28 18:11:25 +01:00
dnsmasq_acl.json dnsmasq: add ubus notifications for new leases 2017-08-22 21:31:39 +02:00
dnsmasqsec.hotplug dnsmasq: use ubus signalling in ntp hotplug script 2017-01-13 16:08:22 +01:00
rfc6761.conf dnsmasq: do not forward rfc6761 excluded domains 2017-03-09 10:42:27 +01:00