Improved BGP flow formatting
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run

This commit is contained in:
Luca Deri 2026-04-12 23:22:38 +02:00
parent 646f7118ea
commit a26247ecca
2 changed files with 9 additions and 1 deletions

View file

@ -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