From: David Schweizer Date: Mon, 7 Mar 2022 13:18:09 +0000 (+0100) Subject: pimd/pim_cmd.c: fix typo in IGMP iface stats JSON X-Git-Tag: pim6-testing-20220430~230^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=a533bb8cacad6894d54ad746e6a8c7c0822bb88b;p=matthieu%2Ffrr.git pimd/pim_cmd.c: fix typo in IGMP iface stats JSON Changes correct typo in JSON output for IGMP interface statistics show command from "leaveV3" to "leaveV2". Signed-off-by: David Schweizer --- diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 76f90cdba7..e3ada3297a 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -1333,7 +1333,7 @@ static void igmp_show_statistics(struct pim_instance *pim, struct vty *vty, json_object_int_add(json_row, "queryV1", rx_stats.query_v1); json_object_int_add(json_row, "queryV2", rx_stats.query_v2); json_object_int_add(json_row, "queryV3", rx_stats.query_v3); - json_object_int_add(json_row, "leaveV3", rx_stats.leave_v2); + json_object_int_add(json_row, "leaveV2", rx_stats.leave_v2); json_object_int_add(json_row, "reportV1", rx_stats.report_v1); json_object_int_add(json_row, "reportV2", rx_stats.report_v2); json_object_int_add(json_row, "reportV3", rx_stats.report_v3);