summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-01-01 14:43:56 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-01-01 14:43:56 +0000
commit706eb828ad51f862e7582c5fe5355e1c73475de1 (patch)
tree74ae9bd2244fd5d7133dfe16ea470d78667837c3 /modules/admin-full/luasrc
parent33e088dd9d84edecca2df8d2682260d55ea9056a (diff)
modules/admin-full: allow space separated lists of macs in static lease form (#319)
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
index 561f82abd..ceebe7cb5 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua
@@ -235,7 +235,7 @@ name.datatype = "hostname"
name.rmempty = true
mac = s:option(Value, "mac", translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
-mac.datatype = "macaddr"
+mac.datatype = "list(macaddr)"
ip = s:option(Value, "ip", translate("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
ip.datatype = "ip4addr"