diff options
author | rgirada <rgirada@vmware.com> | 2020-03-30 09:21:17 +0200 |
---|---|---|
committer | rgirada <rgirada@vmware.com> | 2020-05-30 14:15:43 +0200 |
commit | 91c0fb47798f6ab5d0506ae935bbd5964f03297d (patch) | |
tree | 9d5843b017e2e67be641f58eafa1db592790bc99 /pimd | |
parent | pimd: Providing json support for few pim commands. (diff) | |
download | frr-91c0fb47798f6ab5d0506ae935bbd5964f03297d.tar.xz frr-91c0fb47798f6ab5d0506ae935bbd5964f03297d.zip |
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>
Diffstat (limited to 'pimd')
-rw-r--r-- | pimd/pim_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 4f5b44098..cd3f4e712 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -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 && |