]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pimd: Modifying "show ip mroute json" o/p.
authorrgirada <rgirada@vmware.com>
Mon, 30 Mar 2020 07:21:17 +0000 (00:21 -0700)
committerrgirada <rgirada@vmware.com>
Sat, 30 May 2020 12:15:43 +0000 (05:15 -0700)
Description:
"show ip mroute" displays only installed(kernel) mroutes, where
as "show ip mroute json" diplays both installed and not installed
mroutes in the o/p.To make this consistant, diplaying only valid
routes in json o/p.

Signed-off-by: Rajesh Girada <rgirada@vmware.com>
pimd/pim_cmd.c

index 4f5b44098c1468f54d5849a2f371f0fc47dea4c9..cd3f4e71289ec5aaaacfb7a54a0e49faefa4229b 100644 (file)
@@ -5816,7 +5816,7 @@ static void show_mroute(struct pim_instance *pim, struct vty *vty,
        frr_each (rb_pim_oil, &pim->channel_oil_head, c_oil) {
                found_oif = 0;
                first = 1;
-               if (!c_oil->installed && !uj)
+               if (!c_oil->installed)
                        continue;
 
                if (sg->grp.s_addr != 0 &&