summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua')
-rw-r--r--applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua b/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
index 592388348..db5a8fae5 100644
--- a/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
+++ b/applications/luci-upnp/luasrc/model/cbi/upnp/upnpmini.lua
@@ -25,7 +25,7 @@ function e.cfgvalue(self, section)
return (os.execute("/etc/init.d/miniupnpd enabled") == 0) and "1" or "0"
end
-s:option(Value, "download").rmempty = true
-s:option(Value, "upload").rmempty = true
+s:option(Value, "download", nil, "kb/s").rmempty = true
+s:option(Value, "upload", nil, "kb/s").rmempty = true
return m \ No newline at end of file