if leases then
v = m2:section(Table, leases, translate("Active Leases"))
+
+ 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("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
mac = v:option(DummyValue, 2, translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
if leases then
v = m:section(Table, leases, translate("Active Leases"))
+ 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("<abbr title=\"Internet Protocol Version 4\">IPv4</abbr>-Address"))
mac = v:option(DummyValue, 2, translate("<abbr title=\"Media Access Control\">MAC</abbr>-Address"))
ltime = v:option(DummyValue, 1, translate("Leasetime remaining"))