modules/admin-full: allow space separated lists of macs in static lease form (#319)
[project/luci.git] / modules / admin-full / luasrc / model / cbi / admin_network / dhcp.lua
index 561f82a..ceebe7c 100644 (file)
@@ -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"