Removed http:// from HTTP url

Reported URL in ndpiReader
This commit is contained in:
Luca Deri
2019-10-01 12:25:39 +02:00
parent a62cf10233
commit e45237a93f
4 changed files with 20 additions and 5 deletions
+4
View File
@@ -1138,6 +1138,10 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
}
}
if(flow->http.url[0] != '\0')
fprintf(out, "[URL: %s][StatusCode: %u]",
flow->http.url, flow->http.response_status_code);
if(flow->ssh_tls.ssl_version != 0) fprintf(out, "[%s]", ndpi_ssl_version2str(flow->ssh_tls.ssl_version));
if(flow->ssh_tls.client_info[0] != '\0') fprintf(out, "[Client: %s]", flow->ssh_tls.client_info);
if(flow->ssh_tls.client_hassh[0] != '\0') fprintf(out, "[HASSH-C: %s]", flow->ssh_tls.client_hassh);