summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2009-05-30 10:50:40 +0000
committerrrs <rrs@FreeBSD.org>2009-05-30 10:50:40 +0000
commitb2dff4f4a9fcbfe52715e8530c4a7993bac02f9e (patch)
tree383c1b15538528a229e6a2e14b687ca0ff48ce4a /sys/netinet
parent9e525699071499305398712042b790258045155c (diff)
downloadFreeBSD-src-b2dff4f4a9fcbfe52715e8530c4a7993bac02f9e.zip
FreeBSD-src-b2dff4f4a9fcbfe52715e8530c4a7993bac02f9e.tar.gz
Make sctp_uio user to kernel structure match the
socket-api draft. Two fields were uint32_t when they should have been uint16_t. Reported by Jonathan Leighton at U-del.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_uio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index e58325d..a0f51c1 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -68,8 +68,8 @@ struct sctp_event_subscribe {
* ancillary data structures
*/
struct sctp_initmsg {
- uint32_t sinit_num_ostreams;
- uint32_t sinit_max_instreams;
+ uint16_t sinit_num_ostreams;
+ uint16_t sinit_max_instreams;
uint16_t sinit_max_attempts;
uint16_t sinit_max_init_timeo;
};
OpenPOWER on IntegriCloud