summaryrefslogtreecommitdiff
path: root/pathd/path_ted.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2022-11-16 21:41:33 -0500
committerGitHub <noreply@github.com>2022-11-16 21:41:33 -0500
commit54b3d90a4bb537607b5d16337ba3d1e56e271f12 (patch)
treef1f1f2e7df4ca77d1dfe2816827ccf7ac11515c1 /pathd/path_ted.c
parente0f7fc58a2bb2feef6149a494b9456eabc38f920 (diff)
parentec139f60f19088611a2fa177c1f81dd64f97d744 (diff)
Merge pull request #11992 from pguibert6WIND/pathd_debug
Pathd debug
Diffstat (limited to 'pathd/path_ted.c')
-rw-r--r--pathd/path_ted.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/pathd/path_ted.c b/pathd/path_ted.c
index 68748af53e..5fc8a1f032 100644
--- a/pathd/path_ted.c
+++ b/pathd/path_ted.c
@@ -488,6 +488,12 @@ int path_ted_cli_debug_config_write(struct vty *vty)
return 0;
}
+void path_ted_show_debugging(struct vty *vty)
+{
+ if (DEBUG_FLAGS_CHECK(&ted_state_g.dbg, PATH_TED_DEBUG_BASIC))
+ vty_out(vty, " Path TED debugging is on\n");
+}
+
int path_ted_cli_debug_set_all(uint32_t flags, bool set)
{
DEBUG_FLAGS_SET(&ted_state_g.dbg, flags, set);