From 706eb828ad51f862e7582c5fe5355e1c73475de1 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 1 Jan 2012 14:43:56 +0000 Subject: [PATCH] modules/admin-full: allow space separated lists of macs in static lease form (#319) --- modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 561f82abd2..ceebe7cb53 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" -- 2.30.2