summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-06-10 23:39:40 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-06-10 23:39:40 +0000
commit5c26ca647b437cc4c38a651cf3d47afe16e6efc8 (patch)
tree82311b8b4fa303a35c5677384d37f2467d758303 /applications/luci-splash
parenta75d30402813ad1eb5399f42c7d8996ee9b1e3dc (diff)
applications/luci-splash: add rate limiting options for splash clients
Diffstat (limited to 'applications/luci-splash')
-rw-r--r--applications/luci-splash/luasrc/model/cbi/splash/splash.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
index 29bc6d9ab7..22d13c7cc5 100644
--- a/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
+++ b/applications/luci-splash/luasrc/model/cbi/splash/splash.lua
@@ -6,6 +6,14 @@ m = Map("luci_splash", "Client-Splash", [[Client-Splash ist das Freifunk Hotspot
s = m:section(NamedSection, "general", "core", "Allgemein")
s:option(Value, "leasetime", "Freigabezeit", "h")
+s:option(Value, "limit_up", "Upload-Limitierung", "Kilobit/s - limitiert die Upload-Geschwindigkeit von Clients")
+s:option(Value, "limit_down", "Download-Limitierung", "Kilobit/s - limitiert die Download-Geschwindigkeit von Clients")
+
+s:option(DummyValue, "_tmp", "",
+ "Bandbreitenlimitierung für Clients wird aktiviert wenn sowohl Up- als auch " ..
+ "Download-Geschwindigkeit angegeben werden. Auf 0 setzen um die Limitierung zu deaktivieren. " ..
+ "Clients in der Whitelist werden nicht limitiert.")
+
s = m:section(TypedSection, "iface", "Schnittstellen")
s.template = "cbi/tblsection"
s.addremove = true
@@ -44,4 +52,4 @@ s.addremove = true
s.anonymous = true
s:option(Value, "mac", "MAC-Adresse")
-return m \ No newline at end of file
+return m