]> git.puffer.fish Git - mirror/frr.git/commit
pathd: rework debugs
authorIgor Ryzhov <iryzhov@nfware.com>
Tue, 26 Mar 2024 14:38:45 +0000 (16:38 +0200)
committerMark Stapp <mjs@cisco.com>
Tue, 20 Aug 2024 15:07:45 +0000 (11:07 -0400)
commit1797b7eefc730bb4f5aec08f130861650c61dd97
tree6b97f5357cb86c73b2ed9b24f893d8296688a66c
parentd9775c690cb6f3d5fcc91805c3ada83aaa8f4835
pathd: rework debugs

Pathd uses a single debug struct with additional option flags to
configure different types of debug messages. This is not how debug
library is supposed to be used. The idea of option flags is to allow
more granular control of a single type, not to represent multiple types.

This commit adds a separate debug struct for each type which greatly
simplifies the code.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
pathd/path_cli.c
pathd/path_pcep.c
pathd/path_pcep.h
pathd/path_pcep_cli.c
pathd/path_ted.c
pathd/path_ted.h
pathd/pathd.c
pathd/pathd.h