diff options
Diffstat (limited to 'pbrd/pbr_debug.c')
| -rw-r--r-- | pbrd/pbr_debug.c | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pbrd/pbr_debug.c b/pbrd/pbr_debug.c index eca2802e98..027f1e2c5c 100644 --- a/pbrd/pbr_debug.c +++ b/pbrd/pbr_debug.c @@ -13,10 +13,11 @@ #include "pbrd/pbr_debug_clippy.c" #include "pbrd/pbr_debug.h" -struct debug pbr_dbg_map = {0, "PBR map"}; -struct debug pbr_dbg_zebra = {0, "PBR Zebra communications"}; -struct debug pbr_dbg_nht = {0, "PBR nexthop tracking"}; -struct debug pbr_dbg_event = {0, "PBR events"}; +struct debug pbr_dbg_map = { 0, "debug pbr map", "PBR map" }; +struct debug pbr_dbg_zebra = { 0, "debug pbr zebra", + "PBR Zebra communications" }; +struct debug pbr_dbg_nht = { 0, "debug pbr nht", "PBR nexthop tracking" }; +struct debug pbr_dbg_event = { 0, "debug pbr events", "PBR events" }; struct debug *pbr_debugs[] = {&pbr_dbg_map, &pbr_dbg_zebra, &pbr_dbg_nht, &pbr_dbg_event}; @@ -41,11 +42,6 @@ int pbr_debug_config_write_helper(struct vty *vty, bool config) return 0; } -int pbr_debug_config_write(struct vty *vty) -{ - return pbr_debug_config_write_helper(vty, true); -} - void pbr_debug_init(void) { debug_install(&pbr_dbg_map); |
