diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2020-03-18 10:26:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-18 10:26:44 +0100 |
commit | 2a7280e2e5c406da251dca969974cac1f57da3d6 (patch) | |
tree | a1e0662629b66f8642bc566fc1ebd841ac215aa6 /pimd/pim_cmd.c | |
parent | Merge pull request #5945 from pguibert6WIND/match_rmap_ipv4 (diff) | |
parent | pimd: fix pim interface traffic & pim rp-info json command (diff) | |
download | frr-2a7280e2e5c406da251dca969974cac1f57da3d6.tar.xz frr-2a7280e2e5c406da251dca969974cac1f57da3d6.zip |
Merge pull request #5882 from patrasar/2386429
pimd: fix pim interface traffic & pim rp-info json command
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r-- | pimd/pim_cmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index af25d930d..8bfad8ee2 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -1520,6 +1520,10 @@ static void pim_show_interface_traffic(struct pim_instance *pim, pim_ifp->pim_ifstat_join_recv); json_object_int_add(json_row, "joinTx", pim_ifp->pim_ifstat_join_send); + json_object_int_add(json_row, "pruneTx", + pim_ifp->pim_ifstat_prune_send); + json_object_int_add(json_row, "pruneRx", + pim_ifp->pim_ifstat_prune_recv); json_object_int_add(json_row, "registerRx", pim_ifp->pim_ifstat_reg_recv); json_object_int_add(json_row, "registerTx", |