Merge pull request #1012 from IvanNardi/ua

QUIC: extract User Agent information
This commit is contained in:
Luca Deri
2020-09-17 21:32:25 +02:00
committed by GitHub
21 changed files with 232 additions and 119 deletions
+3 -3
View File
@@ -1268,11 +1268,11 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
if(flow->http.content_type[0] != '\0')
fprintf(out, "[Content-Type: %s]", flow->http.content_type);
if(flow->http.user_agent[0] != '\0')
fprintf(out, "[User-Agent: %s]", flow->http.user_agent);
}
if(flow->http.user_agent[0] != '\0')
fprintf(out, "[User-Agent: %s]", flow->http.user_agent);
if(flow->risk) {
u_int i;