applications/siitwizard:
[project/luci.git] / applications / luci-siitwizard / luasrc / model / cbi / siitwizard.lua
index dbaaa17..de4fab0 100644 (file)
@@ -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")