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 561f82abd27bef63266ac67e5ba92ec8e6df8da1..ceebe7cb53a4668b1c370187d462a47e595aaa46 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"