]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pim6d: Fix the Code for MLD in the show pim state command
authorMobashshera Rasool <mrasool@vmware.com>
Tue, 30 Aug 2022 10:02:25 +0000 (03:02 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Tue, 30 Aug 2022 10:13:42 +0000 (03:13 -0700)
show ip pim state should show IGMP Report while
show ipv6 pim state should show MLD Report.

Output After Fix:
frr# do sh ip pim state
Codes: J -> Pim Join, I -> IGMP Report, S -> Source, * -> Inherited from (*,G), V -> VxLAN, M -> Muted
Active Source           Group            RPT  IIF               OIL

frr# do sh ipv6 pim state
Codes: J -> Pim Join, I -> MLD Report, S -> Source, * -> Inherited from (*,G), V -> VxLAN, M -> Muted
Active Source           Group            RPT  IIF               OIL

frr#

Issue: #11249

Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
pimd/pim_cmd_common.c

index 0746af191f80c3769c5bf139ee763f102770e6ad..70c1544717e3550594e7eae76f583c5c5012eda7 100644 (file)
@@ -1038,7 +1038,7 @@ void pim_show_state(struct pim_instance *pim, struct vty *vty,
 
        if (!json) {
                vty_out(vty,
-                       "Codes: J -> Pim Join, I -> IGMP Report, S -> Source, * -> Inherited from (*,G), V -> VxLAN, M -> Muted");
+                       "Codes: J -> Pim Join, I -> " GM " Report, S -> Source, * -> Inherited from (*,G), V -> VxLAN, M -> Muted");
                vty_out(vty,
                        "\nActive Source           Group            RPT  IIF               OIL\n");
        }