mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-31 04:48:12 +00:00
Fix missing first letter in netbios name
This commit is contained in:
parent
99989d0200
commit
c41e2462df
1 changed files with 1 additions and 1 deletions
|
|
@ -1919,7 +1919,7 @@ bool NetworkInterface::processPacket(u_int32_t bridge_iface_idx,
|
|||
char name[64];
|
||||
|
||||
if(((payload[2] & 0x80) /* NetBIOS Response */ || ((payload[2] & 0x78) == 0x28 /* NetBIOS Registration */))
|
||||
&& (ndpi_netbios_name_interpret((char*)&payload[14], name, sizeof(name)) > 0)
|
||||
&& (ndpi_netbios_name_interpret((char*)&payload[12], name, sizeof(name)) > 0)
|
||||
&& (!strstr(name, "__MSBROWSE__"))
|
||||
) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue