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 <dschweizer@opensourcerouting.org>
This commit is contained in:
David Schweizer 2022-03-07 14:18:09 +01:00
parent 583ba572b7
commit a533bb8cac
No known key found for this signature in database
GPG Key ID: A07D97BEEE79EF7F

View File

@ -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);