diff options
| author | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2022-05-26 11:22:27 -0300 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2024-11-21 10:26:16 -0300 |
| commit | fc39bfaa0a2f3556d3986a01828e0647cb47d747 (patch) | |
| tree | d2190b2ffbfede32982928fdf85944ee06fec060 /pimd/pim_instance.h | |
| parent | 21d1e85db584a5707e8323307df7044017356c10 (diff) | |
pimd,yang: log MSDP SA events
Add new command to log all SA events.
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_instance.h')
| -rw-r--r-- | pimd/pim_instance.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_instance.h b/pimd/pim_instance.h index a4e550c9d0..dab7ed2698 100644 --- a/pimd/pim_instance.h +++ b/pimd/pim_instance.h @@ -196,6 +196,8 @@ struct pim_instance { uint32_t log_flags; /** Log neighbor event messages. */ #define PIM_MSDP_LOG_NEIGHBOR_EVENTS 0x01 +/** Log SA event messages. */ +#define PIM_MSDP_LOG_SA_EVENTS 0x02 bool stopping; @@ -224,5 +226,6 @@ extern struct pim_router *router; struct pim_instance *pim_get_pim_instance(vrf_id_t vrf_id); extern bool pim_msdp_log_neighbor_events(const struct pim_instance *pim); +extern bool pim_msdp_log_sa_events(const struct pim_instance *pim); #endif |
