modules/admin-full: allow to specify the DHCP pool start as IPv4 address (#420)

This commit is contained in:
Jo-Philipp Wich 2012-06-05 14:05:03 +00:00
parent 1fa82a7937
commit 5ae5d3be63

View file

@ -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"),