Added RTP stream type in flow metadata
This commit is contained in:
@@ -1228,8 +1228,12 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
|
||||
ndpi_snprintf(flow->http.request_content_type, sizeof(flow->http.request_content_type), "%s", flow->ndpi_flow->http.request_content_type ? flow->ndpi_flow->http.request_content_type : "");
|
||||
}
|
||||
}
|
||||
/* RTP */
|
||||
else if(is_ndpi_proto(flow, NDPI_PROTOCOL_RTP)) {
|
||||
flow->info_type = INFO_RTP;
|
||||
flow->rtp.stream_type = flow->ndpi_flow->protos.rtp.stream_type;
|
||||
/* COLLECTD */
|
||||
else if(is_ndpi_proto(flow, NDPI_PROTOCOL_COLLECTD)) {
|
||||
} else if(is_ndpi_proto(flow, NDPI_PROTOCOL_COLLECTD)) {
|
||||
flow->info_type = INFO_GENERIC;
|
||||
if(flow->ndpi_flow->protos.collectd.client_username[0] != '\0')
|
||||
ndpi_snprintf(flow->info, sizeof(flow->info), "Username: %s",
|
||||
|
||||
Reference in New Issue
Block a user