summaryrefslogtreecommitdiffstats
path: root/dnsmasq-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'dnsmasq-model.lua')
-rw-r--r--dnsmasq-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/dnsmasq-model.lua b/dnsmasq-model.lua
index aec875f..0857b66 100644
--- a/dnsmasq-model.lua
+++ b/dnsmasq-model.lua
@@ -84,7 +84,7 @@ function setconfig(config)
if success then
local file = fs.read_file(configfile)
- file = format.update_ini_file(file,"","domain",config.value.LOCALD.value)
+ file = format.update_ini_file(file,"","domain",config.value.DOMAIN.value)
file = format.update_ini_file(file,"","interface",config.value.INTERFACE.value)
file = format.update_ini_file(file,"","listen-address",config.value.IP.value)
file = format.update_ini_file(file,"","dhcp-range",config.value.RANGE.value)