summaryrefslogtreecommitdiff
path: root/source3/nameelect.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nameelect.c')
-rw-r--r--source3/nameelect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c
index ae4dc0857a..c5d145f979 100644
--- a/source3/nameelect.c
+++ b/source3/nameelect.c
@@ -599,6 +599,7 @@ void unbecome_local_master(struct subnet_record *d, struct work_record *work,
/* no longer a master browser of any sort */
+ work->ServerType &= ~SV_TYPE_MASTER_BROWSER;
work->ServerType |= SV_TYPE_POTENTIAL_BROWSER;
work->ElectionCriterion &= ~0x4;
work->mst_state = MST_POTENTIAL;