summaryrefslogtreecommitdiffhomepage
path: root/libs/uvl/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-11-04 23:55:49 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-11-04 23:55:49 +0000
commite933d1a678ee76c4e449de7ed457fd661f229335 (patch)
treeb4fe6ad796b01399d585fe5bcf1c1bc1efdbb789 /libs/uvl/luasrc
parent03b4acea13eecf77f7540bef88a2a9901dfb03e0 (diff)
* luci/libs/uvl: remove max_nil option for now
Diffstat (limited to 'libs/uvl/luasrc')
-rw-r--r--libs/uvl/luasrc/uvl.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/libs/uvl/luasrc/uvl.lua b/libs/uvl/luasrc/uvl.lua
index b34f66bc1..5c6ea05f8 100644
--- a/libs/uvl/luasrc/uvl.lua
+++ b/libs/uvl/luasrc/uvl.lua
@@ -366,7 +366,7 @@ function UVL._validate_option( self, option, nodeps )
end
local w = tonumber(v)
-
+
if option:scheme('minimum') then
if not w or w < option:scheme('minimum') then
return false, option:error(ERR.OPT_RANGE(option))
@@ -378,12 +378,6 @@ function UVL._validate_option( self, option, nodeps )
return false, option:error(ERR.OPT_RANGE(option))
end
end
-
- if option:scheme('max_nil') then
- if v and (not w or w > tonumber(option:scheme('max_nil'))) then
- return false, option:error(ERR.OPT_RANGE(option))
- end
- end
end
end