summaryrefslogtreecommitdiffstats
path: root/source/nameannounce.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-10-27 18:28:06 +0000
committerJeremy Allison <jra@samba.org>1997-10-27 18:28:06 +0000
commit4021a1bf553a20b518595f621f828d8279d05303 (patch)
tree74472ba62a54d45792ec510ab38846bc0d8ebaba /source/nameannounce.c
parent598e98e5612250966696826a98de35356f8f03d8 (diff)
downloadsamba-4021a1bf553a20b518595f621f828d8279d05303.tar.gz
samba-4021a1bf553a20b518595f621f828d8279d05303.tar.xz
samba-4021a1bf553a20b518595f621f828d8279d05303.zip
Fixed bug where we are a WINS server but not a domain master
browser. We were doing a name query instead of a name status. Jeremy.
Diffstat (limited to 'source/nameannounce.c')
-rw-r--r--source/nameannounce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nameannounce.c b/source/nameannounce.c
index ef23e87e58d..03fab914deb 100644
--- a/source/nameannounce.c
+++ b/source/nameannounce.c
@@ -459,7 +459,7 @@ is one of our interfaces.\n", work->work_group, inet_ntoa(nr->ip_flgs[0].ip) ));
for workgroup %s\n", name, type, inet_ntoa(nr->ip_flgs[0].ip), work->work_group ));
queue_netbios_packet(wins_client_subnet, ClientNMB,
- NMB_QUERY,NAME_STATUS_DOM_SRV_CHK,
+ NMB_STATUS,NAME_STATUS_DOM_SRV_CHK,
name, type, 0,0,0,
work->work_group,NULL,
False, False, nr->ip_flgs[0].ip, nr->ip_flgs[0].ip, 0);