diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-02 16:57:45 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-03-02 16:57:45 +0100 |
commit | 344cbf76bc3c91493e90cdc9f82345fc46ef72ed (patch) | |
tree | 2e00e1761ac8475483bc801a46cca0715bb554c4 /pimd/pim_cmd.c | |
parent | pimd: Hide 'ip multicast-routing' command (diff) | |
download | frr-344cbf76bc3c91493e90cdc9f82345fc46ef72ed.tar.xz frr-344cbf76bc3c91493e90cdc9f82345fc46ef72ed.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 5dbf016c8..3236eb07b 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -2632,12 +2632,12 @@ DEFUN (show_ip_pim_state, if (uj) argc--; - if (argc == 5) + if (argc == 6) { src_or_group = argv[4]->arg; group = argv[5]->arg; } - else if (argc == 4) + else if (argc == 5) src_or_group = argv[4]->arg; pim_show_state(vty, src_or_group, group, uj); |