mirror of https://github.com/aredn/aredn.git
Fix dnsmasq directive (#936)
This commit is contained in:
parent
11f7fe6731
commit
f6ffa4acb2
|
@ -47,7 +47,7 @@ if f then
|
||||||
if not host:match("%.local%.mesh$") then
|
if not host:match("%.local%.mesh$") then
|
||||||
host = host .. ".local.mesh"
|
host = host .. ".local.mesh"
|
||||||
end
|
end
|
||||||
subdomains = subdomains .. "server=/" .. host .. "/" .. ip .. "\n"
|
subdomains = subdomains .. "address=/." .. host .. "/" .. ip .. "\n"
|
||||||
else
|
else
|
||||||
data = data .. line .. "\n"
|
data = data .. line .. "\n"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue