Skip to content

Commit

Permalink
lime-proto-anygw: don't explicitely set a DHCPv6 dns-server, leave dn…
Browse files Browse the repository at this point in the history
…smasq default fe80::anygw
  • Loading branch information
altergui committed Mar 20, 2017
1 parent 20fd225 commit a8418b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/lime-proto-anygw/src/anygw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ function anygw.configure(args)
table.insert(content, "enable-ra")
table.insert(content, "dhcp-range=tag:anygw,"..ipv6:network():string()..",ra-names,24h")
table.insert(content, "dhcp-option=tag:anygw,option6:domain-search,lan")
table.insert(content, "dhcp-option=tag:anygw,option6:dns-server,"..anygw_ipv6:host():string())
fs.writefile("/etc/dnsmasq.d/lime-proto-anygw-20-ipv6.conf", table.concat(content, "\n").."\n")

io.popen("/etc/init.d/dnsmasq enable || true"):close()
Expand Down

0 comments on commit a8418b3

Please sign in to comment.