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

LEDE Commits lede-commits at lists.infradead.org
Wed May 10 15:53:21 PDT 2017


jow pushed a commit to source.git, branch master:
https://git.lede-project.org/44da45a881a7aa13a237c5c8843dca914d40d7ae

commit 44da45a881a7aa13a237c5c8843dca914d40d7ae
Author: Arjen de Korte <build+lede at de-korte.org>
AuthorDate: Tue May 9 21:10:26 2017 +0200

    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 at de-korte.org>
---
 package/network/services/dnsmasq/files/dnsmasq.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/dnsmasq/files/dnsmasq.init b/package/network/services/dnsmasq/files/dnsmasq.init
index 2395eaf..30fec7a 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
 



More information about the lede-commits mailing list