applications/siitwizard:
- fixup olsrd txtinfo accept parameter - use network-, not host-ip for gateway-side siit ipv4 route
This commit is contained in:
parent
c505596389
commit
1ff1a107b1
1 changed files with 9 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue