mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
John Reillys fix for de-registering broadcast names (NT doesn't do this).
Jeremy.
This commit is contained in:
parent
365c76e39d
commit
245907f2af
@ -164,9 +164,13 @@ BOOL register_my_workgroup_and_names(void)
|
||||
|
||||
void release_my_names(void)
|
||||
{
|
||||
#if 0 /*JRR: do WINS server only, otherwise clients ignore us when we come back up*/
|
||||
struct subnet_record *subrec;
|
||||
|
||||
for (subrec = FIRST_SUBNET; subrec; subrec = NEXT_SUBNET_INCLUDING_UNICAST(subrec))
|
||||
#else
|
||||
struct subnet_record *subrec = unicast_subnet;
|
||||
#endif
|
||||
{
|
||||
struct name_record *namerec, *nextnamerec;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user