aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/netbios.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/protocols/netbios.c')
-rw-r--r--src/lib/protocols/netbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/netbios.c b/src/lib/protocols/netbios.c
index 286d909e5..e01c980b8 100644
--- a/src/lib/protocols/netbios.c
+++ b/src/lib/protocols/netbios.c
@@ -103,7 +103,7 @@ static void ndpi_int_netbios_add_connection(struct ndpi_detection_module_struct
if((off < packet->payload_packet_len)
&& ndpi_netbios_name_interpret((unsigned char*)&packet->payload[off],
(u_int)(packet->payload_packet_len - off), name, sizeof(name)-1) > 0) {
- ndpi_hostname_sni_set(flow, (const u_int8_t *)name, strlen((char *)name));
+ ndpi_hostname_sni_set(flow, (const u_int8_t *)name, strlen((char *)name), NDPI_HOSTNAME_NORM_ALL);
ndpi_check_dga_name(ndpi_struct, flow, flow->host_server_name, 1, 1);
}