summaryrefslogtreecommitdiff
path: root/eigrpd/eigrp_hello.c
diff options
context:
space:
mode:
authorMark Stapp <mjs@labn.net>2023-07-11 16:03:38 -0400
committerMark Stapp <mjs@labn.net>2023-07-25 10:17:48 -0400
commitadca5c22c573f17b09b96a0994953c8f643fd301 (patch)
tree84894373c496a0279b3fc5eb944803c53bcb6c34 /eigrpd/eigrp_hello.c
parent9e32b73634a8bbe893f2425ee89ee27651d93408 (diff)
* : include event ptr in event_execute api
Include an event ptr-to-ptr in the event_execute() api call, like the various schedule api calls. This allows the execute() api to cancel an existing scheduled task if that task is being executed inline. Signed-off-by: Mark Stapp <mjs@labn.net>
Diffstat (limited to 'eigrpd/eigrp_hello.c')
-rw-r--r--eigrpd/eigrp_hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eigrpd/eigrp_hello.c b/eigrpd/eigrp_hello.c
index 662c750e96..ee0e2451a2 100644
--- a/eigrpd/eigrp_hello.c
+++ b/eigrpd/eigrp_hello.c
@@ -772,7 +772,7 @@ void eigrp_hello_send(struct eigrp_interface *ei, uint8_t flags,
if (ei->eigrp->t_write == NULL) {
if (flags & EIGRP_HELLO_GRACEFUL_SHUTDOWN) {
event_execute(master, eigrp_write, ei->eigrp,
- ei->eigrp->fd);
+ ei->eigrp->fd, NULL);
} else {
event_add_write(master, eigrp_write, ei->eigrp,
ei->eigrp->fd,