if ((work = make_workgroup(name)))
{
+ work->needelection = False;
+
if (lp_preferred_master() &&
strequal(lp_workgroup(), name) &&
d->my_interface)
work->needelection = True;
work->ElectionCriterion |= (1<<3);
}
- if (!d->my_interface)
- {
- work->needelection = False;
- }
add_workgroup(work, d);
return(work);
}