mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Avoids multiple setDetectedProtocol calls for ZMQ flows
This commit is contained in:
parent
48caf68f69
commit
167c40582a
1 changed files with 3 additions and 1 deletions
|
|
@ -307,7 +307,9 @@ void ParserInterface::processFlow(ParsedFlow *zflow) {
|
|||
|
||||
p.app_protocol = zflow->l7_proto.app_protocol, p.master_protocol = zflow->l7_proto.master_protocol;
|
||||
p.category = NDPI_PROTOCOL_CATEGORY_UNSPECIFIED;
|
||||
flow->setDetectedProtocol(p, true);
|
||||
|
||||
if(!flow->isDetectionCompleted())
|
||||
flow->setDetectedProtocol(p, true);
|
||||
|
||||
flow->setJSONInfo(zflow->getAdditionalFieldsJSON());
|
||||
flow->setTLVInfo(zflow->getAdditionalFieldsTLV());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue