projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceb49b0
)
applications/luci-splash: cope with non-numeric (invalid) limit_up & limit_down value...
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 9 Jun 2009 12:36:31 +0000
(12:36 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 9 Jun 2009 12:36:31 +0000
(12:36 +0000)
applications/luci-splash/root/usr/sbin/luci-splash
patch
|
blob
|
history
diff --git
a/applications/luci-splash/root/usr/sbin/luci-splash
b/applications/luci-splash/root/usr/sbin/luci-splash
index 244adc9d88c919910f9b575ce826127660955095..99fdd1bf1496c60bfa0e32e4fba28cb9c5d9ef53 100755
(executable)
--- a/
applications/luci-splash/root/usr/sbin/luci-splash
+++ b/
applications/luci-splash/root/usr/sbin/luci-splash
@@
-16,8
+16,8
@@
function main(argv)
local cmd = argv[1]
local arg = argv[2]
- limit_up = tonumber(uci:get("luci_splash", "general", "limit_up")
or 0)
- limit_down = tonumber(uci:get("luci_splash", "general", "limit_down")
or 0)
+ limit_up = tonumber(uci:get("luci_splash", "general", "limit_up")
) or 0
+ limit_down = tonumber(uci:get("luci_splash", "general", "limit_down")
) or 0
uci:foreach("luci_splash", "iface", function(s)
if s.network then