mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
parent
1d5fb7865d
commit
db4dd16d8d
@ -133,24 +133,6 @@ static void wins_hook(char *operation, struct name_record *namerec, int ttl)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
hash our interfaces and netbios names settings
|
|
||||||
*****************************************************************************/
|
|
||||||
static unsigned wins_hash(void)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
unsigned ret = iface_hash();
|
|
||||||
extern char **my_netbios_names;
|
|
||||||
|
|
||||||
for (i=0;my_netbios_names[i];i++)
|
|
||||||
ret ^= str_checksum(my_netbios_names[i]);
|
|
||||||
|
|
||||||
ret ^= str_checksum(lp_workgroup());
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
Determine if this packet should be allocated to the WINS server.
|
Determine if this packet should be allocated to the WINS server.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user