diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-01 14:43:56 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-01-01 14:43:56 +0000 |
commit | 706eb828ad51f862e7582c5fe5355e1c73475de1 (patch) | |
tree | 74ae9bd2244fd5d7133dfe16ea470d78667837c3 | |
parent | 33e088dd9d84edecca2df8d2682260d55ea9056a (diff) |
modules/admin-full: allow space separated lists of macs in static lease form (#319)
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/dhcp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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("<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" |