mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes flow page table index is nil
This commit is contained in:
parent
fcfd9a3442
commit
64d1724650
2 changed files with 3 additions and 3 deletions
|
|
@ -659,7 +659,7 @@ function getFlowLabel(flow, show_macs, add_hyperlinks, historical_bounds, hyperl
|
|||
if(cli_as ~= nil) then
|
||||
label = label.." [ "..cli_as.." ]"
|
||||
else
|
||||
if show_macs and cli_mac ~= "" then
|
||||
if show_macs and not isEmptyString(cli_mac) then
|
||||
label = label.." [ "..cli_mac.." ]"
|
||||
end
|
||||
end
|
||||
|
|
@ -685,7 +685,7 @@ function getFlowLabel(flow, show_macs, add_hyperlinks, historical_bounds, hyperl
|
|||
if(dst_as ~= nil) then
|
||||
label = label.." [ "..dst_as.." ]"
|
||||
else
|
||||
if show_macs and srv_mac ~= "" then
|
||||
if show_macs and not isEmptyString(srv_mac) then
|
||||
label = label.." [ "..srv_mac.." ]"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue