diff options
Diffstat (limited to 'applications/luci-siitwizard')
-rw-r--r-- | applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua index dbaaa17acc..de4fab001b 100644 --- a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua +++ b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua @@ -169,7 +169,7 @@ function mode.write(self, section, value) uci:section("network", "route", nil, { interface = "siit0", - target = gv4_net:host():string(), + target = gv4_net:network():string(), netmask = gv4_net:mask():string() }) @@ -314,6 +314,14 @@ function mode.write(self, section, value) prefix = siit_route:prefix() }) + -- txtinfo v6 + uci:foreach("olsrd", "LoadPlugin", + function(s) + if s.library == "olsrd_txtinfo.so.0.1" then + uci:set("olsrd", s['.name'], "accept", "::1") + end + end) + uci:save("wireless") uci:save("firewall") uci:save("network") |