modules/admin-full: allow space separated lists of macs in static lease form (#319)
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Jan 2012 14:43:56 +0000 (14:43 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 1 Jan 2012 14:43:56 +0000 (14:43 +0000)
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"