diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-04-03 16:48:53 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-04-17 18:43:47 -0400 |
| commit | 56c63eeb23eabdb7a54964649d91aa7dde80cf0b (patch) | |
| tree | 89e115781d15b89d7a310ae721b913577fe7e916 | |
| parent | e14f43ccae1b4590e24ad4be57bd48f0a649de12 (diff) | |
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>
| -rw-r--r-- | pbrd/pbr_debug.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pbrd/pbr_debug.c b/pbrd/pbr_debug.c index 0978262b87..2693120e15 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]); |
