diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-08-15 11:52:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-15 11:52:49 -0400 |
| commit | 77014daf3a88f4a4e2874db93e4b3915937f20ee (patch) | |
| tree | 58461293771e230d31025f8e00b248deb6383ab8 /ospf6d/ospf6_intra.h | |
| parent | 2bc2ff61c88286585bb86ae8f799872aaf0a0077 (diff) | |
| parent | adca5c22c573f17b09b96a0994953c8f643fd301 (diff) | |
Merge pull request #14016 from mjstapp/event_exec_ptr
* : include event ptr in event_execute api
Diffstat (limited to 'ospf6d/ospf6_intra.h')
| -rw-r--r-- | ospf6d/ospf6_intra.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/ospf6d/ospf6_intra.h b/ospf6d/ospf6_intra.h index 0f286f0ab1..7d154cb4c6 100644 --- a/ospf6d/ospf6_intra.h +++ b/ospf6d/ospf6_intra.h @@ -181,20 +181,21 @@ struct ospf6_intra_prefix_lsa { do { \ if (CHECK_FLAG((oa)->flag, OSPF6_AREA_ENABLE)) \ event_execute(master, ospf6_router_lsa_originate, oa, \ - 0); \ + 0, NULL); \ } while (0) #define OSPF6_NETWORK_LSA_EXECUTE(oi) \ do { \ EVENT_OFF((oi)->thread_network_lsa); \ - event_execute(master, ospf6_network_lsa_originate, oi, 0); \ + event_execute(master, ospf6_network_lsa_originate, oi, 0, \ + NULL); \ } while (0) #define OSPF6_LINK_LSA_EXECUTE(oi) \ do { \ if (!CHECK_FLAG((oi)->flag, OSPF6_INTERFACE_DISABLE)) \ event_execute(master, ospf6_link_lsa_originate, oi, \ - 0); \ + 0, NULL); \ } while (0) #define OSPF6_INTRA_PREFIX_LSA_EXECUTE_TRANSIT(oi) \ @@ -202,13 +203,13 @@ struct ospf6_intra_prefix_lsa { EVENT_OFF((oi)->thread_intra_prefix_lsa); \ event_execute(master, \ ospf6_intra_prefix_lsa_originate_transit, oi, \ - 0); \ + 0, NULL); \ } while (0) #define OSPF6_AS_EXTERN_LSA_EXECUTE(oi) \ do { \ EVENT_OFF((oi)->thread_as_extern_lsa); \ - event_execute(master, ospf6_orig_as_external_lsa, oi, 0); \ + event_execute(master, ospf6_orig_as_external_lsa, oi, 0, NULL);\ } while (0) /* Function Prototypes */ |
