summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-11-17 02:08:28 +0000
committerJeremy Allison <jra@samba.org>2000-11-17 02:08:28 +0000
commit689e97fa725e2a51bd7cedaaae6028f15cf4d75c (patch)
tree2e4be6182a41f1ef72a4d264a82af368980f0600
parente2808ecaf6add2889161ea24f60f5afff1d76081 (diff)
downloadsamba-689e97fa725e2a51bd7cedaaae6028f15cf4d75c.tar.gz
samba-689e97fa725e2a51bd7cedaaae6028f15cf4d75c.tar.xz
samba-689e97fa725e2a51bd7cedaaae6028f15cf4d75c.zip
John Reilly's broadcast release names fix.
Jeremy.
-rw-r--r--source/nmbd/nmbd_mynames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/nmbd/nmbd_mynames.c b/source/nmbd/nmbd_mynames.c
index 7ea8ffc9465..432a4736a47 100644
--- a/source/nmbd/nmbd_mynames.c
+++ b/source/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;