git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
826c2f9
)
John Reillys fix for de-registering broadcast names (NT doesn't do this).
author
Jeremy Allison
<jra@samba.org>
Fri, 17 Nov 2000 00:33:06 +0000
(
00:33
+0000)
committer
Jeremy Allison
<jra@samba.org>
Fri, 17 Nov 2000 00:33:06 +0000
(
00:33
+0000)
Jeremy.
(This used to be commit
245907f2affb530237809b81b8748f7f0a1e4502
)
source3/nmbd/nmbd_mynames.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_mynames.c
b/source3/nmbd/nmbd_mynames.c
index 7ea8ffc9465697d02d6c6b8dc976d7836a3c7d51..432a4736a47ee063ee634ff8a3709030cc6bfbb9 100644
(file)
--- 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;