mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-09 12:39:21 +00:00
pimd: Fix 'show ip pim state' command
The 'show ip pim state' command was not working quite correctly from when we moved over to the new vtysh-grammar. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
b8d16be287
commit
344cbf76bc
@ -2632,12 +2632,12 @@ DEFUN (show_ip_pim_state,
|
|||||||
if (uj)
|
if (uj)
|
||||||
argc--;
|
argc--;
|
||||||
|
|
||||||
if (argc == 5)
|
if (argc == 6)
|
||||||
{
|
{
|
||||||
src_or_group = argv[4]->arg;
|
src_or_group = argv[4]->arg;
|
||||||
group = argv[5]->arg;
|
group = argv[5]->arg;
|
||||||
}
|
}
|
||||||
else if (argc == 4)
|
else if (argc == 5)
|
||||||
src_or_group = argv[4]->arg;
|
src_or_group = argv[4]->arg;
|
||||||
|
|
||||||
pim_show_state(vty, src_or_group, group, uj);
|
pim_show_state(vty, src_or_group, group, uj);
|
||||||
|
Loading…
Reference in New Issue
Block a user