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.c | |
| 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.c')
| -rw-r--r-- | pimd/pim_instance.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_instance.c b/pimd/pim_instance.c index bec6e49e18..4e4e5a6ce8 100644 --- a/pimd/pim_instance.c +++ b/pimd/pim_instance.c @@ -277,3 +277,8 @@ bool pim_msdp_log_neighbor_events(const struct pim_instance *pim) { return (pim->log_flags & PIM_MSDP_LOG_NEIGHBOR_EVENTS); } + +bool pim_msdp_log_sa_events(const struct pim_instance *pim) +{ + return (pim->log_flags & PIM_MSDP_LOG_SA_EVENTS); +} |
