summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/user/pim.rst1
-rw-r--r--pimd/pim_cmd.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/user/pim.rst b/doc/user/pim.rst
index 1b418a4349..306feec0f7 100644
--- a/doc/user/pim.rst
+++ b/doc/user/pim.rst
@@ -452,6 +452,7 @@ cause great confusion.
.. clicmd:: show ip pim assert
Display information about asserts in the PIM system for S,G mroutes.
+ This command does not show S,G Channel states that in a NOINFO state.
.. clicmd:: show ip pim assert-internal
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 01cb35177e..90c0257483 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -143,6 +143,9 @@ static void pim_show_assert(struct pim_instance *pim, struct vty *vty)
continue;
RB_FOREACH (ch, pim_ifchannel_rb, &pim_ifp->ifchannel_rb) {
+ if (ch->ifassert_state == PIM_IFASSERT_NOINFO)
+ continue;
+
pim_show_assert_helper(vty, pim_ifp, ch, now);
} /* scan interface channels */
}