summaryrefslogtreecommitdiff
path: root/source3/namedbwork.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/namedbwork.c')
-rw-r--r--source3/namedbwork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/namedbwork.c b/source3/namedbwork.c
index a17de731bb..9b4b6a5300 100644
--- a/source3/namedbwork.c
+++ b/source3/namedbwork.c
@@ -122,7 +122,7 @@ static struct work_record *make_workgroup(char *name)
/* WfWg uses 01040b01 */
/* Win95 uses 01041501 */
/* NTAS uses ???????? */
- work->ElectionCriterion = (MAINTAIN_LIST<<1)|(ELECTION_VERSION<<8);
+ work->ElectionCriterion = (MAINTAIN_LIST)|(ELECTION_VERSION<<8);
work->ElectionCriterion |= (lp_os_level() << 24);
if (lp_domain_master()) {
work->ElectionCriterion |= 0x80;