diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-22 03:01:09 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-12-22 03:01:09 +0000 |
commit | 1ff1a107b192f28e4ca159d2201510d28bee7a38 (patch) | |
tree | 02cd76facdccbb47915afe1cd0e701e397af87de /applications | |
parent | c505596389ce37f2713a5f203abc0b73a5b336c7 (diff) |
applications/siitwizard:
- fixup olsrd txtinfo accept parameter
- use network-, not host-ip for gateway-side siit ipv4 route
Diffstat (limited to 'applications')
-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 dbaaa17ac..de4fab001 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") |