mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 04:40:21 +00:00
pimd: Modifying "show ip mroute json" o/p.
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>
This commit is contained in:
parent
922e754430
commit
91c0fb4779
@ -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 &&
|
||||
|
Loading…
Reference in New Issue
Block a user