mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 12:52:37 +00:00
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>
This commit is contained in:
parent
e14f43ccae
commit
56c63eeb23
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user