aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArjen de Korte <build+lede@de-korte.org>2017-05-09 21:10:26 +0200
committerJo-Philipp Wich <jo@mein.io>2017-05-11 00:53:05 +0200
commit44da45a881a7aa13a237c5c8843dca914d40d7ae (patch)
tree8a39291b7aa2a9a8b09d79e316b204c5402b34a0
parent8451b060235ef0f22dce6f81f3b2a44a70196882 (diff)
downloadupstream-44da45a881a7aa13a237c5c8843dca914d40d7ae.tar.gz
upstream-44da45a881a7aa13a237c5c8843dca914d40d7ae.tar.bz2
upstream-44da45a881a7aa13a237c5c8843dca914d40d7ae.zip
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>
-rw-r--r--package/network/services/dnsmasq/files/dnsmasq.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 2395eaf804..30fec7a4ee 100644
--- a/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/package/network/services/dnsmasq/files/dnsmasq.init
@@ -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