summaryrefslogtreecommitdiffstats
path: root/zebra/debug.c
diff options
context:
space:
mode:
authorAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-02-06 18:29:48 +0100
committerAnuradha Karuppiah <anuradhak@cumulusnetworks.com>2020-02-14 18:18:30 +0100
commitef011a428779c5685439b3aff372f215ffcc60fe (patch)
tree76f56483681faa7401163dee4f85c4eb2b6356d2 /zebra/debug.c
parentMerge pull request #5810 from donaldsharp/fix_yang_routemap (diff)
downloadfrr-ef011a428779c5685439b3aff372f215ffcc60fe.tar.xz
frr-ef011a428779c5685439b3aff372f215ffcc60fe.zip
zebra: mlag debug was not being persisted
Added the mlag keyword to the config level also (in addition to the view level). Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to '')
-rw-r--r--zebra/debug.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/zebra/debug.c b/zebra/debug.c
index 16b1d0057..68f6b6930 100644
--- a/zebra/debug.c
+++ b/zebra/debug.c
@@ -544,6 +544,10 @@ static int config_write_debug(struct vty *vty)
vty_out(vty, "debug zebra vxlan\n");
write++;
}
+ if (IS_ZEBRA_DEBUG_MLAG) {
+ vty_out(vty, "debug zebra mlag\n");
+ write++;
+ }
if (IS_ZEBRA_DEBUG_PW) {
vty_out(vty, "debug zebra pseudowires\n");
write++;
@@ -633,4 +637,5 @@ void zebra_debug_init(void)
install_element(CONFIG_NODE, &no_debug_zebra_rib_cmd);
install_element(CONFIG_NODE, &no_debug_zebra_fpm_cmd);
install_element(CONFIG_NODE, &no_debug_zebra_dplane_cmd);
+ install_element(CONFIG_NODE, &debug_zebra_mlag_cmd);
}