gluon-mesh-batman-adv: announce dns server if dns cache was configured (#1105)

This commit is contained in:
Christof Schulze 2017-04-27 21:11:23 +02:00 committed by Matthias Schiffer
parent 373613bb54
commit 5bf3c895d0
1 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
#!/usr/bin/lua
local site = require "gluon.site_config"
print("-i local-node -p " .. site.prefix6)
io.write("-i local-node -p " .. site.prefix6)
if site.dns and site.dns.servers then
io.write(" --rdnss " .. site.next_node.ip6)
end