luci-mod-network: require unique MACs for DHCP leases
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
7e26fa89e9
commit
f1efd71ba0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue