git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1fa82a7
)
modules/admin-full: allow to specify the DHCP pool start as IPv4 address (#420)
author
Jo-Philipp Wich
<redacted>
Tue, 5 Jun 2012 14:05:03 +0000
(14:05 +0000)
committer
Jo-Philipp Wich
<redacted>
Tue, 5 Jun 2012 14:05:03 +0000
(14:05 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
patch
|
blob
|
history
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 4b581102e7b2c8c7bd03d8a5ec72d1eafa3b16b4..1d83eb32063e361b4c5db63181fc568dac1fe7cc 100644
(file)
--- 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"),
git clone https://git.99rst.org/PROJECT