mirror of
https://github.com/samba-team/samba.git
synced 2025-01-08 21:18:16 +03:00
KCC: correct the comparison for lost link timeout
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
0884482b00
commit
ddb5149373
@ -1620,7 +1620,7 @@ class Site(object):
|
||||
i_idx = j_idx
|
||||
t_time = 0
|
||||
|
||||
elif ntnow < (cursor.last_sync_success - f):
|
||||
elif ntnow - cursor.last_sync_success > f:
|
||||
i_idx = 0
|
||||
t_time = 0
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user