diff options
| author | Mark Stapp <mjs@labn.net> | 2023-07-11 16:03:38 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@labn.net> | 2023-07-25 10:17:48 -0400 | 
| commit | adca5c22c573f17b09b96a0994953c8f643fd301 (patch) | |
| tree | 84894373c496a0279b3fc5eb944803c53bcb6c34 /ospf6d/ospf6_lsa.c | |
| parent | 9e32b73634a8bbe893f2425ee89ee27651d93408 (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 'ospf6d/ospf6_lsa.c')
| -rw-r--r-- | ospf6d/ospf6_lsa.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index e745c6c577..bc39579653 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -333,7 +333,7 @@ void ospf6_lsa_premature_aging(struct ospf6_lsa *lsa)  	ospf6_flood_clear(lsa);  	lsa->header->age = htons(OSPF_LSA_MAXAGE); -	event_execute(master, ospf6_lsa_expire, lsa, 0); +	event_execute(master, ospf6_lsa_expire, lsa, 0, NULL);  }  /* check which is more recent. if a is more recent, return -1;  | 
