Shortened mac address column in hosts list

This commit is contained in:
Matteo Biscosi 2021-03-02 11:05:47 +01:00
parent 32ac628c3c
commit debf0c412b
3 changed files with 18 additions and 10 deletions

View file

@ -66,8 +66,8 @@ function custom_column_utils.hostStatsToColumnValue(host_stats, column, formatte
val = ""
end
if((c[6] ~= nil) and (tonumber(val) ~= 0)) then
val = hostinfo2detailshref(host_stats, c[6], val)
if((c[6] ~= nil) and (tonumber(val) ~= 0)) then
val = hostinfo2detailshref(host_stats, c[6], val)
end
else
val = host_stats_getter(host_stats, c[3])