diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-06-10 06:08:50 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-06-10 06:08:50 +0000 |
commit | 292b2f1d13c64aaa40dbf543139bb125af1aabf7 (patch) | |
tree | 9b8e12ff7c3808fc2e984649e86b386725a6fb46 /source3/nameelect.c | |
parent | 53409e5e34fce56bc18880ba59b3caf60dcbc3be (diff) | |
download | samba-292b2f1d13c64aaa40dbf543139bb125af1aabf7.tar.gz samba-292b2f1d13c64aaa40dbf543139bb125af1aabf7.tar.bz2 samba-292b2f1d13c64aaa40dbf543139bb125af1aabf7.zip |
minor patch to allow host announcements to remote subnets
(This used to be commit e264a670e917102cfdbfce9ae76fbc4d548ddae4)
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; |