From: Jo-Philipp Wich Date: Sun, 1 Jan 2012 14:43:56 +0000 (+0000) Subject: modules/admin-full: allow space separated lists of macs in static lease form (#319) X-Git-Tag: 0.11.0~1198 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=706eb828ad51f862e7582c5fe5355e1c73475de1;p=oweals%2Fluci.git modules/admin-full: allow space separated lists of macs in static lease form (#319) --- 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("MAC-Address")) -mac.datatype = "macaddr" +mac.datatype = "list(macaddr)" ip = s:option(Value, "ip", translate("IPv4-Address")) ip.datatype = "ip4addr"