luci-base: implement lease status ubus call
[project/luci.git] / modules / luci-mod-network / luasrc / model / cbi / admin_network / dhcp.lua
index e886d84224080d93b3e06f2df01efcb6516eae27..0be1b3fb58614054a347258b12e489a4f61598f3 100644 (file)
@@ -295,7 +295,7 @@ function name.remove(self, section)
 end
 
 mac = s:option(Value, "mac", translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
-mac.datatype = "list(macaddr)"
+mac.datatype = "list(unique(macaddr))"
 mac.rmempty  = true
 
 function mac.cfgvalue(self, section)