1
0
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:
Douglas Bagnall 2015-03-04 13:05:37 +13:00 committed by Andrew Bartlett
parent 0884482b00
commit ddb5149373

View File

@ -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: