summaryrefslogtreecommitdiffstats
path: root/source3/nameannounce.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-08-13 12:35:28 +0000
committerAndrew Tridgell <tridge@samba.org>1996-08-13 12:35:28 +0000
commitcd41e6629e3e401f1a181564ca41798c263802bc (patch)
treee5c09c030742f05dd0a57652162878d4ebbb0418 /source3/nameannounce.c
parent908b383ff43e05307ed1ec43cc2d6b0e67e3af19 (diff)
downloadsamba-cd41e6629e3e401f1a181564ca41798c263802bc.tar.gz
samba-cd41e6629e3e401f1a181564ca41798c263802bc.tar.xz
samba-cd41e6629e3e401f1a181564ca41798c263802bc.zip
minor cleanups
(This used to be commit f1dc2b93179ace36407bbb25c2c34c78087714bd)
Diffstat (limited to 'source3/nameannounce.c')
-rw-r--r--source3/nameannounce.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/nameannounce.c b/source3/nameannounce.c
index e619ef1c4b6..4c1ef78f9ed 100644
--- a/source3/nameannounce.c
+++ b/source3/nameannounce.c
@@ -121,7 +121,7 @@ void sync_server(enum state_type state, char *serv_name, char *work_name,
struct in_addr ip)
{
/* with a domain master we can get the whole list (not local only list) */
- BOOL local_only = state != NAME_STATUS_DOM_SRV_CHK;
+ BOOL local_only = (state != NAME_STATUS_DOM_SRV_CHK);
add_browser_entry(serv_name, name_type, work_name, 0, ip, local_only);
@@ -473,10 +473,6 @@ void announce_host(void)
/****************************************************************************
announce myself as a master to all other primary domain conrollers.
- BIG NOTE: this code will remain untested until some kind soul that has access
- to a couple of windows NT advanced servers runs this version of nmbd for at
- least 15 minutes.
-
this actually gets done in search_and_sync_workgroups() via the
NAME_QUERY_DOM_SRV_CHK command, if there is a response from the
name query initiated here. see response_name_query()