diff options
Diffstat (limited to 'source3/nameelect.c')
-rw-r--r-- | source3/nameelect.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c index 4479f660c9..1832240a11 100644 --- a/source3/nameelect.c +++ b/source3/nameelect.c @@ -355,6 +355,10 @@ BOOL check_elections(void) for (d = subnetlist; d; d = d->next) { struct work_record *work; + + /* we only want to run elections on our own interfaces */ + if (!d->my_interface) continue; + for (work = d->workgrouplist; work; work = work->next) { run_any_election |= work->RunningElection; |