openwrtv4/package/network/services/dnsmasq
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
..
files dnsmasq: fix dhcp-host entries with empty macs 2017-11-28 18:11:25 +01:00
patches dnsmasq: fix swapped ubus args mac and ip 2017-11-13 23:30:33 +01:00
Makefile dnsmasq: load instance-specific conf-file if exists 2017-11-19 22:27:49 +01:00