mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Fix bug #6224 - nmbd waits 5 minutes at startup before checking if it needs to run elections
Fix logic bug that causes nmbd to wait 5 minutes before looking for a master browser. This one is *old* :-). Thanks for Simo for bugging me on this. Jeremy.
This commit is contained in:
@ -130,9 +130,6 @@ void check_master_browser_exists(time_t t)
|
||||
struct subnet_record *subrec;
|
||||
const char *workgroup_name = lp_workgroup();
|
||||
|
||||
if (!lastrun)
|
||||
lastrun = t;
|
||||
|
||||
if (t < (lastrun + (CHECK_TIME_MST_BROWSE * 60)))
|
||||
return;
|
||||
|
||||
|
Reference in New Issue
Block a user