summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-03 16:31:04 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-07-21 14:27:35 +0200
commitbc1f09de739fa80b3a6ea37cfc9fcdd3dfd8abb8 (patch)
treebfd2f0fc4bc252738ee77532d84f99c2c9ce6ca3 /ospfd/ospf_packet.c
parentospfd: Remove various macros that overlap THREAD_OFF (diff)
downloadfrr-bc1f09de739fa80b3a6ea37cfc9fcdd3dfd8abb8.tar.xz
frr-bc1f09de739fa80b3a6ea37cfc9fcdd3dfd8abb8.zip
ospfd: Convert thread_cancel to THREAD_OFF
Just convert all uses of thread_cancel to THREAD_OFF. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfd/ospf_packet.c')
-rw-r--r--ospfd/ospf_packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index d2ade9f11..4b3f30a3f 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -466,7 +466,7 @@ static void ospf_ls_req_timer(struct thread *thread)
void ospf_ls_req_event(struct ospf_neighbor *nbr)
{
- thread_cancel(&nbr->t_ls_req);
+ THREAD_OFF(nbr->t_ls_req);
thread_add_event(master, ospf_ls_req_timer, nbr, 0, &nbr->t_ls_req);
}