mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Really print the nr_mapping array when it should be printed.`
MFC after: 3 days.
This commit is contained in:
parent
a8734ffdb3
commit
553aff12d4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=206891
@ -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);
|
printf("Non renegable mapping array (last %d entries are zero):\n", asoc->mapping_array_size - limit);
|
||||||
for (i = 0; i < limit; i++) {
|
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)
|
if (limit % 16)
|
||||||
printf("\n");
|
printf("\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user