summaryrefslogtreecommitdiffstats
path: root/pbrd
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-04-03 22:48:53 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-04-18 00:43:47 +0200
commit56c63eeb23eabdb7a54964649d91aa7dde80cf0b (patch)
tree89e115781d15b89d7a310ae721b913577fe7e916 /pbrd
parentpbrd: move debug vty into pbr_vty.c (diff)
downloadfrr-56c63eeb23eabdb7a54964649d91aa7dde80cf0b.tar.xz
frr-56c63eeb23eabdb7a54964649d91aa7dde80cf0b.zip
pbrd: don't collapse pbr debugs
While compact, collapsing the various debugs into simply `debug pbr` if all debugs are on is potentially confusing to users. Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'pbrd')
-rw-r--r--pbrd/pbr_debug.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/pbrd/pbr_debug.c b/pbrd/pbr_debug.c
index 0978262b8..2693120e1 100644
--- a/pbrd/pbr_debug.c
+++ b/pbrd/pbr_debug.c
@@ -79,11 +79,6 @@ int pbr_debug_config_write_helper(struct vty *vty, bool config)
if (config)
mode = DEBUG_MODE_CONF;
- if (pbr_debug_check_all(DEBUG_MODE_CONF) == mode) {
- vty_out(vty, "debug pbr\n");
- return 0;
- }
-
for (unsigned int i = 0; i < array_size(pbr_debugs); i++)
if (DEBUG_MODE_CHECK(pbr_debugs[i], mode))
vty_out(vty, "%s\n", pbr_debugs_conflines[i]);