aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2021-03-15 21:09:07 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2021-03-15 21:09:07 +0000
commite4ac3f74637778981b2d89745188bb2a39e24e42 (patch)
treed9c69c8696ba795e2316ce0c0f18d8ce47065764
parent8ea35c45d5206ad57945ba160484f04450c88b75 (diff)
downloadsrc-e4ac3f74637778981b2d89745188bb2a39e24e42.tar.gz
src-e4ac3f74637778981b2d89745188bb2a39e24e42.zip
Fix fib algo rebuild delay calculation.
Submitted by: Marco Zec <zec at fer.hr> MFC after: 3 days
-rw-r--r--sys/net/route/fib_algo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/route/fib_algo.c b/sys/net/route/fib_algo.c
index b2aa2de087de..03c265d28d09 100644
--- a/sys/net/route/fib_algo.c
+++ b/sys/net/route/fib_algo.c
@@ -462,7 +462,7 @@ static void
schedule_callout(struct fib_data *fd, int delay_ms)
{
- callout_reset_sbt(&fd->fd_callout, 0, SBT_1MS * delay_ms,
+ callout_reset_sbt(&fd->fd_callout, SBT_1MS * delay_ms, 0,
rebuild_fd_callout, fd, 0);
}