Skip to content

Commit

Permalink
ice: Fix connection check callback is called multiple times (#807)
Browse files Browse the repository at this point in the history
  • Loading branch information
pitti98 authored May 17, 2023
1 parent 055adaa commit 2161c25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ice/connchk.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ static void pace_next(struct icem *icem)

icem_conncheck_schedule_check(icem);

if (icem->state == ICE_CHECKLIST_FAILED)
if (icem->state != ICE_CHECKLIST_RUNNING)
return;

icem_checklist_update(icem);
Expand Down

0 comments on commit 2161c25

Please sign in to comment.