summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nameelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c
index 06f3e870af..4666b22588 100644
--- a/source3/nameelect.c
+++ b/source3/nameelect.c
@@ -76,7 +76,7 @@ void check_master_browser(time_t t)
{
if (strequal(work->work_group, myworkgroup) && !AM_MASTER(work))
{
- if (lp_local_master())
+ if (lp_local_master() && lp_preferred_master())
{
/* potential master browser - not a master browser. force
becoming a master browser, hence the log message.