mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-31 21:30:27 +00:00
Support for encoding additional fields to TLV
This commit is contained in:
parent
373d224534
commit
9bd00fa0ee
6 changed files with 88 additions and 15 deletions
|
|
@ -1360,7 +1360,8 @@ void NetworkInterface::processFlow(ParsedFlow *zflow, bool zmq_flow) {
|
|||
p.category = NDPI_PROTOCOL_CATEGORY_UNSPECIFIED;
|
||||
flow->setDetectedProtocol(p, true);
|
||||
|
||||
flow->setJSONInfo(zflow->getAdditionalFields());
|
||||
flow->setJSONInfo(zflow->getAdditionalFieldsJSON());
|
||||
flow->setTLVInfo(zflow->getAdditionalFieldsTLV());
|
||||
|
||||
flow->updateInterfaceLocalStats(src2dst_direction,
|
||||
zflow->pkt_sampling_rate*(zflow->in_pkts+zflow->out_pkts),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue