summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-06-05 14:05:03 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-06-05 14:05:03 +0000
commit5ae5d3be63c7e5451859e226d2f61055fdc043e4 (patch)
tree9b7031712603187ba6bf1c9edb9465ac134a5be8 /modules/admin-full/luasrc/model
parent1fa82a793721a8cd1696e6053a0351188b706f31 (diff)
modules/admin-full: allow to specify the DHCP pool start as IPv4 address (#420)
Diffstat (limited to 'modules/admin-full/luasrc/model')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
index 4b581102e..1d83eb320 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
@@ -488,7 +488,7 @@ if has_dnsmasq and net:proto() == "static" then
local start = s:taboption("general", Value, "start", translate("Start"),
translate("Lowest leased address as offset from the network address."))
start.optional = true
- start.datatype = "uinteger"
+ start.datatype = "or(uinteger,ip4addr)"
start.default = "100"
local limit = s:taboption("general", Value, "limit", translate("Limit"),