Fix dumb mistake in patch before last; epoll timeout is in ms, not s.
This commit is contained in:
parent
2057d7cd18
commit
f061a78a18
@ -412,7 +412,7 @@ static void do_ndhc_work(void)
|
|||||||
|
|
||||||
// Failsafe to prevent busy-spin.
|
// Failsafe to prevent busy-spin.
|
||||||
if (prev_timeout == 0 && !had_event)
|
if (prev_timeout == 0 && !had_event)
|
||||||
timeout = 10;
|
timeout = 10000;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user