diff options
Diffstat (limited to 'source3/namedbwork.c')
-rw-r--r-- | source3/namedbwork.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source3/namedbwork.c b/source3/namedbwork.c index 88f66a7b15..13dde54b22 100644 --- a/source3/namedbwork.c +++ b/source3/namedbwork.c @@ -203,17 +203,12 @@ struct work_record *find_workgroupstruct(struct subnet_record *d, if ((work = make_workgroup(name))) { if (lp_preferred_master() && - strequal(lp_workgroup(), name) && - d->my_interface) + strequal(lp_workgroup(), name)) { DEBUG(3, ("preferred master startup for %s\n", work->work_group)); work->needelection = True; work->ElectionCriterion |= (1<<3); } - if (!d->my_interface) - { - work->needelection = False; - } add_workgroup(work, d); return(work); } |