1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Really print the nr_mapping array when it should be printed.`

MFC after: 3 days.
This commit is contained in:
Michael Tuexen 2010-04-20 08:50:19 +00:00
parent a8734ffdb3
commit 553aff12d4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206891

View File

@ -1215,7 +1215,7 @@ sctp_print_mapping_array(struct sctp_association *asoc)
}
printf("Non renegable mapping array (last %d entries are zero):\n", asoc->mapping_array_size - limit);
for (i = 0; i < limit; i++) {
printf("%2.2x%c", asoc->mapping_array[i], ((i + 1) % 16) ? ' ' : '\n');
printf("%2.2x%c", asoc->nr_mapping_array[i], ((i + 1) % 16) ? ' ' : '\n');
}
if (limit % 16)
printf("\n");