diff options
Diffstat (limited to 'pbrd/pbr_debug.c')
| -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]); |
