summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-06-01 21:31:02 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-01 21:31:02 +0200
commitf91f89bcd6a7c0b26d9e5b9d7062a29451ab51b5 (patch)
treeb6ea99b4b91e6090f032b5a26388d8f36ac8bbc6 /pimd/pim_vty.c
parentzebra: Remove experimental warning (diff)
downloadfrr-f91f89bcd6a7c0b26d9e5b9d7062a29451ab51b5.tar.xz
frr-f91f89bcd6a7c0b26d9e5b9d7062a29451ab51b5.zip
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. Ticket: CM-11257 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index eeeda9d43..beb0622a3 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -33,6 +33,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)
{
@@ -200,6 +201,8 @@ int pim_interface_config_write(struct vty *vty)
++writes;
}
}
+
+ writes += pim_static_write_mroute (vty, ifp);
}
vty_out(vty, "!%s", VTY_NEWLINE);
++writes;