summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_packet.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-06-03 16:28:11 +0200
committerDonald Sharp <sharpd@nvidia.com>2022-07-21 14:27:35 +0200
commitcccd44f3b1ae4f6e16c9183c5222ba767340d1f7 (patch)
treecdd63cd1e85f5cdbde2efce31827de9c4980f665 /ospfd/ospf_packet.c
parentMerge pull request #11653 from louis-6wind/fix-isis-sr-php (diff)
downloadfrr-cccd44f3b1ae4f6e16c9183c5222ba767340d1f7.tar.xz
frr-cccd44f3b1ae4f6e16c9183c5222ba767340d1f7.zip
ospfd: Remove various macros that overlap THREAD_OFF
Let's just use THREAD_OFF consistently in the code base instead of each daemon having a special macro that needs to be looked at and remembered what it does. 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 c319f8068..d2ade9f11 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -4103,7 +4103,7 @@ static void ospf_ls_upd_queue_send(struct ospf_interface *oi,
* is actually turned off.
*/
if (list_isempty(oi->ospf->oi_write_q))
- OSPF_TIMER_OFF(oi->ospf->t_write);
+ THREAD_OFF(oi->ospf->t_write);
} else {
/* Hook thread to write packet. */
OSPF_ISM_WRITE_ON(oi->ospf);