summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2016-01-16 18:05:24 +0000
committertuexen <tuexen@FreeBSD.org>2016-01-16 18:05:24 +0000
commit77521945a3e5ddb68cda72bb9e983d629929de5f (patch)
tree2df05a18d3212a9c40b7f3c777b36c893e1a1028 /sys/netinet
parentf5e0149b5f6d355042aea77c4549c84464aa7db3 (diff)
downloadFreeBSD-src-77521945a3e5ddb68cda72bb9e983d629929de5f.zip
FreeBSD-src-77521945a3e5ddb68cda72bb9e983d629929de5f.tar.gz
MFC r290444:
The field sinfo_timetolive should have been sinfo_pr_value. Thanks to Jens Hoelscher for making me aware of the bug.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_uio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h
index fe86aa2..ee31543 100644
--- a/sys/netinet/sctp_uio.h
+++ b/sys/netinet/sctp_uio.h
@@ -134,7 +134,7 @@ struct sctp_extrcvinfo {
uint16_t sinfo_flags;
uint32_t sinfo_ppid;
uint32_t sinfo_context;
- uint32_t sinfo_timetolive;
+ uint32_t sinfo_timetolive; /* should have been sinfo_pr_value */
uint32_t sinfo_tsn;
uint32_t sinfo_cumtsn;
sctp_assoc_t sinfo_assoc_id;
@@ -148,6 +148,7 @@ struct sctp_extrcvinfo {
uint8_t __reserve_pad[SCTP_ALIGN_RESV_PAD_SHORT];
};
+#define sinfo_pr_value sinfo_timetolive
#define sreinfo_next_flags serinfo_next_flags
#define sreinfo_next_stream serinfo_next_stream
#define sreinfo_next_aid serinfo_next_aid
OpenPOWER on IntegriCloud