Added generic user agent setter. (#1530)

* ndpiReader: Print user agent if one was set and not just for certain protocols.

Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
Toni
2022-04-25 13:00:50 +02:00
committed by GitHub
parent 075bce5f3d
commit bc2ad3407a
12 changed files with 97 additions and 87 deletions
+1
View File
@@ -161,6 +161,7 @@ extern "C" {
const char *alpn_to_check, u_int alpn_to_check_len);
char *ndpi_hostname_sni_set(struct ndpi_flow_struct *flow, const u_int8_t *value, size_t value_len);
char *ndpi_user_agent_set(struct ndpi_flow_struct *flow, const u_int8_t *value, size_t value_len);
#ifdef __cplusplus
}