forked from Mirror/frr
pimd: Do not display placeholder for 'show ip pim rp-info'
do not display the 224.0.0.0/4 rp information if none-have been provided. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
75395e6a32
commit
dce1a92f31
|
@ -485,6 +485,8 @@ pim_rp_show_information (struct vty *vty)
|
|||
|
||||
vty_out (vty, "RP Addr Group Oif I_am_RP%s", VTY_NEWLINE);
|
||||
for (ALL_LIST_ELEMENTS_RO (qpim_rp_list, node, rp_info))
|
||||
{
|
||||
if (rp_info->rp.rpf_addr.s_addr != INADDR_NONE)
|
||||
{
|
||||
char buf[48];
|
||||
vty_out (vty, "%-10s %-10s %-10s%-10d%s",
|
||||
|
@ -493,5 +495,6 @@ pim_rp_show_information (struct vty *vty)
|
|||
rp_info->rp.source_nexthop.interface->name,
|
||||
rp_info->i_am_rp, VTY_NEWLINE);
|
||||
}
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue