diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2021-09-28 14:53:23 +0200 |
|---|---|---|
| committer | Rafael Zalamena <rzalamena@opensourcerouting.org> | 2023-01-13 15:32:12 -0300 |
| commit | b27499d6ba93da119836aaede4cdccaf37981c9f (patch) | |
| tree | 1d77b8fcb687820573a1eedc0096d53f8204136a /staticd/static_debug.h | |
| parent | 771fdeaf3928970f879e946944fb2ba6a3d7e81a (diff) | |
staticd: add debug static bfd command
This command helps in troubleshooting static bfd feature.
Add traces upon bfd events.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
Diffstat (limited to 'staticd/static_debug.h')
| -rw-r--r-- | staticd/static_debug.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/staticd/static_debug.h b/staticd/static_debug.h index ee9f7b0537..129c096688 100644 --- a/staticd/static_debug.h +++ b/staticd/static_debug.h @@ -34,6 +34,7 @@ extern "C" { /* staticd debugging records */ extern struct debug static_dbg_events; extern struct debug static_dbg_route; +extern struct debug static_dbg_bfd; /* * Initialize staticd debugging. @@ -71,7 +72,8 @@ int static_debug_status_write(struct vty *vty); * Debug general internal events * */ -void static_debug_set(int vtynode, bool onoff, bool events, bool route); +void static_debug_set(int vtynode, bool onoff, bool events, bool route, + bool bfd); #ifdef __cplusplus } |
