mirror of https://git.openwrt.org/project/luci.git
luci-0.9: merge r6019
This commit is contained in:
parent
119b6d898f
commit
4efb7b28fa
|
@ -90,6 +90,13 @@ end
|
|||
|
||||
if leases then
|
||||
v = m2:section(Table, leases, translate("dhcp_leases_active"))
|
||||
|
||||
name = v:option(DummyValue, 4, translate("hostname"))
|
||||
function name.cfgvalue(self, ...)
|
||||
local value = DummyValue.cfgvalue(self, ...)
|
||||
return (value == "*") and "?" or value
|
||||
end
|
||||
|
||||
ip = v:option(DummyValue, 3, translate("ipaddress"))
|
||||
|
||||
mac = v:option(DummyValue, 2, translate("macaddress"))
|
||||
|
|
|
@ -75,6 +75,11 @@ end
|
|||
|
||||
if leases then
|
||||
v = m:section(Table, leases, translate("dhcp_leases_active"))
|
||||
name = v:option(DummyValue, 4, translate("hostname"))
|
||||
function name.cfgvalue(self, ...)
|
||||
local value = DummyValue.cfgvalue(self, ...)
|
||||
return (value == "*") and "?" or value
|
||||
end
|
||||
ip = v:option(DummyValue, 3, translate("ipaddress"))
|
||||
mac = v:option(DummyValue, 2, translate("macaddress"))
|
||||
ltime = v:option(DummyValue, 1, translate("dhcp_timeremain"))
|
||||
|
|
Loading…
Reference in New Issue