pimd: Add support for displaying ip mroute
When you enter a static mroute under an interface
the 'show run' is not displaying this information.
Add code to allow this.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Tested-by: NetDEF CI System <cisystem@netdef.org>
Acked-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 810dbe8..56de83c 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -32,6 +32,7 @@
#include "pim_str.h"
#include "pim_ssmpingd.h"
#include "pim_pim.h"
+#include "pim_static.h"
int pim_debug_config_write(struct vty *vty)
{
@@ -191,6 +192,8 @@
++writes;
}
}
+
+ writes += pim_static_write_mroute (vty, ifp);
}
vty_out(vty, "!%s", VTY_NEWLINE);
++writes;