diff options
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r-- | modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua b/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua index e886d8422..0be1b3fb5 100644 --- a/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua +++ b/modules/luci-mod-network/luasrc/model/cbi/admin_network/dhcp.lua @@ -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) |