summaryrefslogtreecommitdiffstats
path: root/pimd
diff options
context:
space:
mode:
authorsaravanank <saravanank@vmware.com>2019-05-05 08:20:14 +0200
committersaravanank <saravanank@vmware.com>2019-05-15 06:42:22 +0200
commit5164ad1e981cb859fea52f5b84be638b59ca3200 (patch)
treeffdfe6ad25881b96aebe45cb6be3f49f3020c9b4 /pimd
parentpimd: Implement show & clear ip pim statistics command (diff)
downloadfrr-5164ad1e981cb859fea52f5b84be638b59ca3200.tar.xz
frr-5164ad1e981cb859fea52f5b84be638b59ca3200.zip
pimd: clear pim bsm traffic counters for BSM
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'pimd')
-rw-r--r--pimd/pim_cmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index cee853eb7..b44b64be4 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -3879,6 +3879,8 @@ DEFUN (clear_ip_pim_interface_traffic,
pim_ifp->pim_ifstat_reg_stop_send = 0;
pim_ifp->pim_ifstat_assert_recv = 0;
pim_ifp->pim_ifstat_assert_send = 0;
+ pim_ifp->pim_ifstat_bsm_rx = 0;
+ pim_ifp->pim_ifstat_bsm_tx = 0;
}
return CMD_SUCCESS;