diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-12-11 08:06:25 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 08:32:17 -0400 |
| commit | 8c1186d38e9226e29bb6eed0745a7638a7f66e5b (patch) | |
| tree | fba237046e948542dc33ed9db73d12b35f4e9581 /eigrpd | |
| parent | ba7d2705d6ee53b8bb897800fa7dbad01b48602a (diff) | |
*: Convert thread_execute to event_execute
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'eigrpd')
| -rw-r--r-- | eigrpd/eigrp_hello.c | 4 | ||||
| -rw-r--r-- | eigrpd/eigrp_update.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eigrpd/eigrp_hello.c b/eigrpd/eigrp_hello.c index 02807dd31d..12de6d4a13 100644 --- a/eigrpd/eigrp_hello.c +++ b/eigrpd/eigrp_hello.c @@ -771,8 +771,8 @@ void eigrp_hello_send(struct eigrp_interface *ei, uint8_t flags, if (ei->eigrp->t_write == NULL) { if (flags & EIGRP_HELLO_GRACEFUL_SHUTDOWN) { - thread_execute(master, eigrp_write, ei->eigrp, - ei->eigrp->fd); + event_execute(master, eigrp_write, ei->eigrp, + ei->eigrp->fd); } else { event_add_write(master, eigrp_write, ei->eigrp, ei->eigrp->fd, diff --git a/eigrpd/eigrp_update.c b/eigrpd/eigrp_update.c index 5fa4695317..1a0729d32b 100644 --- a/eigrpd/eigrp_update.c +++ b/eigrpd/eigrp_update.c @@ -916,7 +916,7 @@ void eigrp_update_send_GR_thread(struct event *thread) /* if it wasn't last chunk, schedule this thread again */ if (nbr->nbr_gr_packet_type != EIGRP_PACKET_PART_LAST) { - thread_execute(master, eigrp_update_send_GR_thread, nbr, 0); + event_execute(master, eigrp_update_send_GR_thread, nbr, 0); } } @@ -982,7 +982,7 @@ void eigrp_update_send_GR(struct eigrp_neighbor *nbr, enum GR_type gr_type, /* indicate, that this is first GR Update packet chunk */ nbr->nbr_gr_packet_type = EIGRP_PACKET_PART_FIRST; /* execute packet sending in thread */ - thread_execute(master, eigrp_update_send_GR_thread, nbr, 0); + event_execute(master, eigrp_update_send_GR_thread, nbr, 0); } /** |
