dnsmasq: don't propagate DUID from one host to another

If no DUID is set for a host, it should be empty, not the last one set for a previous host.

Signed-off-by: Arjen de Korte <build+lede@de-korte.org>
This commit is contained in:
Arjen de Korte 2017-05-09 21:10:26 +02:00 committed by Jo-Philipp Wich
parent 8451b06023
commit 44da45a881
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ dhcp_match_add() {
dhcp_host_add() {
local cfg="$1"
local hosttag nametime addrs
local hosttag nametime addrs duids
config_get_bool force "$cfg" force 0