summaryrefslogtreecommitdiff
path: root/zebra/debug.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-03-10 04:14:17 +0000
committervivek <vivek@cumulusnetworks.com>2018-03-10 04:14:17 +0000
commit7d39cd191c885608731a82a2cedf2b8953d3bf1c (patch)
tree6f3003ab8d9b0284d86637849a2d5473ae878005 /zebra/debug.c
parentd0be47e8e152e82270770bdb77aea620ea9b3ab2 (diff)
parent58e7db106d5907cb129fcc316f02ce0bf34e3885 (diff)
Merge branch 'master' of https://github.com/frrouting/frr into pmsi-parse-display
Conflicts: bgpd/bgp_attr.c
Diffstat (limited to 'zebra/debug.c')
-rw-r--r--zebra/debug.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index 1df547a023..14b36cb5fb 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -212,13 +212,15 @@ DEFUN (debug_zebra_kernel_msgdump,
SET_FLAG(zebra_debug_kernel, ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV);
if (IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_SEND)
- UNSET_FLAG(zebra_debug_kernel, ZEBRA_DEBUG_KERNEL_MSGDUMP_SEND);
+ UNSET_FLAG(zebra_debug_kernel,
+ ZEBRA_DEBUG_KERNEL_MSGDUMP_SEND);
} else if (argv_find(argv, argc, "send", &idx)) {
SET_FLAG(zebra_debug_kernel, ZEBRA_DEBUG_KERNEL_MSGDUMP_SEND);
if (IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV)
- UNSET_FLAG(zebra_debug_kernel, ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV);
+ UNSET_FLAG(zebra_debug_kernel,
+ ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV);
} else {
SET_FLAG(zebra_debug_kernel, ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV);
@@ -400,7 +402,8 @@ static int config_write_debug(struct vty *vty)
}
if (IS_ZEBRA_DEBUG_KERNEL) {
- if (IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_SEND && IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV) {
+ if (IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_SEND
+ && IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV) {
vty_out(vty, "debug zebra kernel msgdump\n");
write++;
} else if (IS_ZEBRA_DEBUG_KERNEL_MSGDUMP_RECV) {