diff options
-rw-r--r-- | src/lib/protocols/netbios.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/netbios.c b/src/lib/protocols/netbios.c index adf26b7d1..9c2283a81 100644 --- a/src/lib/protocols/netbios.c +++ b/src/lib/protocols/netbios.c @@ -323,7 +323,7 @@ void ndpi_search_netbios(struct ndpi_detection_module_struct *ndpi_struct, struc NDPI_LOG(NDPI_PROTOCOL_NETBIOS, ndpi_struct, NDPI_LOG_DEBUG, "found netbios with checked ip-address.\n"); - if(netbios_name_interpret((char*)&packet->payload[14], name, sizeof(name)) > 0) + if(netbios_name_interpret((char*)&packet->payload[12], name, sizeof(name)) > 0) snprintf((char*)flow->host_server_name, sizeof(flow->host_server_name), "%s", name); ndpi_int_netbios_add_connection(ndpi_struct, flow); |