summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-siitwizard/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-30 06:03:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-30 06:03:31 +0000
commita7e7c31f8c659b55c1adb0863a8f2f66d3452d2b (patch)
tree05725c272eb0ad543a31a9f904c8ca4cd39cf4f6 /applications/luci-siitwizard/luasrc/model
parent59fbc851613d0b86aabff91cd457a1e53d17a3e8 (diff)
applications/siitwizard: whitespace and typo fixes, svn property fixup
Diffstat (limited to 'applications/luci-siitwizard/luasrc/model')
-rw-r--r--applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
index 7274f98e30..b6493b3269 100644
--- a/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
+++ b/applications/luci-siitwizard/luasrc/model/cbi/siitwizard.lua
@@ -95,11 +95,11 @@ function mode.write(self, section, value)
-- Gateway mode
--
-- * wan port is dhcp, lan port is 172.23.1.1/24
- -- * siit0 gets a dummy address: 169.254.42.42
- -- * wl0 gets an ipv6 address, in this case the fdca:ffee:babe::1:1/64
- -- * we do a ::ffff:ffff:0/96 route into siit0, so everything from 6mesh goes into translation.
- -- * an HNA6 of ::ffff:ffff:0:0/96 announces the mapped 0.0.0.0/0 ipv4 space.
- -- * MTU on WAN, LAN down to 1400, ipv6 headers are slighly larger.
+ -- * siit0 gets a dummy address: 169.254.42.42
+ -- * wl0 gets an ipv6 address, in this case the fdca:ffee:babe::1:1/64
+ -- * we do a ::ffff:ffff:0/96 route into siit0, so everything from 6mesh goes into translation.
+ -- * an HNA6 of ::ffff:ffff:0:0/96 announces the mapped 0.0.0.0/0 ipv4 space.
+ -- * MTU on WAN, LAN down to 1400, ipv6 headers are slighly larger.
if value == "gateway" then
@@ -110,9 +110,9 @@ function mode.write(self, section, value)
-- Client mode
--
-- * 172.23.2.1/24 on its lan, fdca:ffee:babe::1:2 on wl0 and the usual dummy address on siit0.
- -- * we do a ::ffff:ffff:172.13.2.0/120 to siit0, because in this case, only traffic directed to clients needs to go into translation.
- -- * same route as HNA6 announcement to catch the traffic out of the mesh.
- -- * Also, MTU on LAN reduced to 1400.
+ -- * we do a ::ffff:ffff:172.13.2.0/120 to siit0, because in this case, only traffic directed to clients needs to go into translation.
+ -- * same route as HNA6 announcement to catch the traffic out of the mesh.
+ -- * Also, MTU on LAN reduced to 1400.
else
local lan_ip = luci.ip.IPv4(
@@ -156,7 +156,7 @@ function mode.write(self, section, value)
if s.interface == device then
uci:set("olsrd", s[".name"], "Ip6AddrType", "global")
end
- uci:delete("olsrd", s[".name"], "Ip4Boradcast")
+ uci:delete("olsrd", s[".name"], "Ip4Broadcast")
end)
-- hna6