From 234b8c602209d966c5b82148b521d9711e08c4b3 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 22 Jul 1996 14:32:38 +0000 Subject: removed the remote interfaces stuff. (This used to be commit 51e5a1a546adf6ba36c7e4c3298c651cff7e15b9) --- source3/namedbwork.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source3/namedbwork.c') 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); } -- cgit