-/* $OpenBSD: rtsock.c,v 1.318 2021/06/01 14:23:34 mvs Exp $ */
+/* $OpenBSD: rtsock.c,v 1.319 2021/06/23 16:10:45 cheloha Exp $ */
/* $NetBSD: rtsock.c,v 1.18 1996/03/29 00:32:10 cgd Exp $ */
/*
rop = pool_get(&rtpcb_pool, PR_WAITOK|PR_ZERO);
so->so_pcb = rop;
/* Init the timeout structure */
- timeout_set_flags(&rop->rop_timeout, rtm_senddesync_timer, so,
- TIMEOUT_PROC);
+ timeout_set_proc(&rop->rop_timeout, rtm_senddesync_timer, so);
refcnt_init(&rop->rop_refcnt);
rop->rop_socket = so;