From bc2ad3407a1cf7f6d2913f113df31dfbf735c6f6 Mon Sep 17 00:00:00 2001 From: Toni Date: Mon, 25 Apr 2022 13:00:50 +0200 Subject: Added generic user agent setter. (#1530) * ndpiReader: Print user agent if one was set and not just for certain protocols. Signed-off-by: lns --- src/include/ndpi_main.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/ndpi_main.h b/src/include/ndpi_main.h index 790fa4c33..ab9170fbf 100644 --- a/src/include/ndpi_main.h +++ b/src/include/ndpi_main.h @@ -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 } -- cgit v1.2.3