Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2010 08:50:19 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r206891 - head/sys/netinet
Message-ID:  <201004200850.o3K8oJG2071731@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tuexen
Date: Tue Apr 20 08:50:19 2010
New Revision: 206891
URL: http://svn.freebsd.org/changeset/base/206891

Log:
  Really print the nr_mapping array when it should be printed.`
  
  MFC after: 3 days.

Modified:
  head/sys/netinet/sctputil.c

Modified: head/sys/netinet/sctputil.c
==============================================================================
--- head/sys/netinet/sctputil.c	Tue Apr 20 08:19:43 2010	(r206890)
+++ head/sys/netinet/sctputil.c	Tue Apr 20 08:50:19 2010	(r206891)
@@ -1215,7 +1215,7 @@ sctp_print_mapping_array(struct sctp_ass
 	}
 	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");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004200850.o3K8oJG2071731>