mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-10 09:19:04 +00:00
Improved BGP flow formatting
This commit is contained in:
parent
646f7118ea
commit
a26247ecca
2 changed files with 9 additions and 1 deletions
|
|
@ -29,6 +29,13 @@ function format_utils.formatBgpBmpInfo(bgp_data)
|
|||
end
|
||||
out[#out + 1] = "</tr>"
|
||||
|
||||
-- ASN
|
||||
out[#out + 1] = "<tr><th>" .. i18n("flow_details.bgp_peer_asn") .. "</th>"
|
||||
for _, peer in ipairs(peer_list) do
|
||||
out[#out + 1] = "<td>" .. peer.info.asn .. "</td>"
|
||||
end
|
||||
out[#out + 1] = "</tr>"
|
||||
|
||||
-- BGP Origin
|
||||
out[#out + 1] = "<tr><th>" .. i18n("flow_details.bgp_origin") .. "</th>"
|
||||
for _, peer in ipairs(peer_list) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue