Browse Source

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 <[email protected]>
Arjen de Korte 8 years ago
parent
commit
44da45a881
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/network/services/dnsmasq/files/dnsmasq.init

+ 1 - 1
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