diff options
author | Jeremy Allison <jra@samba.org> | 2000-11-17 00:33:06 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-11-17 00:33:06 +0000 |
commit | 901c3224deb650826f418313e2c7e76602403788 (patch) | |
tree | fda84e3293ae15b2d2f8450cd4e0248f86f449c7 | |
parent | 826c2f926952ed7bdf77099da36750900d08fd11 (diff) | |
download | samba-901c3224deb650826f418313e2c7e76602403788.tar.gz samba-901c3224deb650826f418313e2c7e76602403788.tar.bz2 samba-901c3224deb650826f418313e2c7e76602403788.zip |
John Reillys fix for de-registering broadcast names (NT doesn't do this).
Jeremy.
(This used to be commit 245907f2affb530237809b81b8748f7f0a1e4502)
-rw-r--r-- | source3/nmbd/nmbd_mynames.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nmbd/nmbd_mynames.c b/source3/nmbd/nmbd_mynames.c index 7ea8ffc946..432a4736a4 100644 --- a/source3/nmbd/nmbd_mynames.c +++ b/source3/nmbd/nmbd_mynames.c @@ -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; |