summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2010-04-20 08:50:19 +0000
committertuexen <tuexen@FreeBSD.org>2010-04-20 08:50:19 +0000
commitbe51b447531f8e30cefc7e013450cc0e2511fcd6 (patch)
tree0b867ed4100aafc3310565d14b7be19fb726b446 /sys/netinet
parent035a4369ff6e2b1b66cfea8b5e66f399fe009cc5 (diff)
downloadFreeBSD-src-be51b447531f8e30cefc7e013450cc0e2511fcd6.zip
FreeBSD-src-be51b447531f8e30cefc7e013450cc0e2511fcd6.tar.gz
Really print the nr_mapping array when it should be printed.`
MFC after: 3 days.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctputil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c
index 0f2805f..26122ce 100644
--- a/sys/netinet/sctputil.c
+++ b/sys/netinet/sctputil.c
@@ -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");
OpenPOWER on IntegriCloud