summaryrefslogtreecommitdiff
path: root/source3/namedbwork.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-07-22 14:32:38 +0000
committerAndrew Tridgell <tridge@samba.org>1996-07-22 14:32:38 +0000
commit234b8c602209d966c5b82148b521d9711e08c4b3 (patch)
tree7e42d2e738a9dc9a7a060083713d94e8ddce1c7f /source3/namedbwork.c
parent1c2ab212d96bbd642fd230b117c9940dae5e3767 (diff)
downloadsamba-234b8c602209d966c5b82148b521d9711e08c4b3.tar.gz
samba-234b8c602209d966c5b82148b521d9711e08c4b3.tar.bz2
samba-234b8c602209d966c5b82148b521d9711e08c4b3.zip
removed the remote interfaces stuff.
(This used to be commit 51e5a1a546adf6ba36c7e4c3298c651cff7e15b9)
Diffstat (limited to 'source3/namedbwork.c')
-rw-r--r--source3/namedbwork.c7
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);
}