]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_vty.c
Merge pull request #5494 from opensourcerouting/mlag-module
[mirror_frr.git] / pimd / pim_vty.c
index e5587503b60e02aaf9068d4539e95ac864f03379..1c4ecf299f60c3726d3ab4c9fe139532bd402648 100644 (file)
@@ -39,6 +39,7 @@
 #include "pim_msdp.h"
 #include "pim_ssm.h"
 #include "pim_bfd.h"
+#include "pim_bsm.h"
 #include "pim_vxlan.h"
 
 int pim_debug_config_write(struct vty *vty)
@@ -69,10 +70,6 @@ int pim_debug_config_write(struct vty *vty)
                vty_out(vty, "debug igmp trace\n");
                ++writes;
        }
-       if (PIM_DEBUG_IGMP_TRACE_DETAIL) {
-               vty_out(vty, "debug igmp trace detail\n");
-               ++writes;
-       }
 
        if (PIM_DEBUG_MROUTE) {
                vty_out(vty, "debug mroute\n");
@@ -84,7 +81,7 @@ int pim_debug_config_write(struct vty *vty)
                ++writes;
        }
 
-       if (PIM_DEBUG_MROUTE_DETAIL) {
+       if (PIM_DEBUG_MROUTE_DETAIL_ONLY) {
                vty_out(vty, "debug mroute detail\n");
                ++writes;
        }
@@ -110,7 +107,7 @@ int pim_debug_config_write(struct vty *vty)
                vty_out(vty, "debug pim trace\n");
                ++writes;
        }
-       if (PIM_DEBUG_PIM_TRACE_DETAIL) {
+       if (PIM_DEBUG_PIM_TRACE_DETAIL_ONLY) {
                vty_out(vty, "debug pim trace detail\n");
                ++writes;
        }
@@ -120,6 +117,11 @@ int pim_debug_config_write(struct vty *vty)
                ++writes;
        }
 
+       if (PIM_DEBUG_BSM) {
+               vty_out(vty, "debug pim bsm\n");
+               ++writes;
+       }
+
        if (PIM_DEBUG_VXLAN) {
                vty_out(vty, "debug pim vxlan\n");
                ++writes;
@@ -401,7 +403,10 @@ int pim_interface_config_write(struct vty *vty)
 
                                writes +=
                                        pim_static_write_mroute(pim, vty, ifp);
+                               pim_bsm_write_config(vty, ifp);
+                               ++writes;
                                pim_bfd_write_config(vty, ifp);
+                               ++writes;
                        }
                        vty_endframe(vty, "!\n");
                        ++writes;