From: Mark Donnelly Date: Thu, 2 Feb 2023 15:07:31 +0000 (-0500) Subject: Index the headers starting with 1, just like all the data. (#4880) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed0c2fa4fcc434e0f36f08643d9350c7c9cdfa8;p=thirdparty%2Ffreeradius-server.git Index the headers starting with 1, just like all the data. (#4880) --- diff --git a/src/bin/radsniff.c b/src/bin/radsniff.c index cc922ac9c8d..f6db58cb639 100644 --- a/src/bin/radsniff.c +++ b/src/bin/radsniff.c @@ -760,7 +760,7 @@ static void rs_stats_print_csv_header(rs_update_t *this) name, name); - for (j = 0; j <= RS_RETRANSMIT_MAX; j++) { + for (j = 1; j <= RS_RETRANSMIT_MAX; j++) { if (j != RS_RETRANSMIT_MAX) { fprintf(stdout, ",\"%s rtx (%i)\"", name, j); } else {