diff options
author | tuexen <tuexen@FreeBSD.org> | 2015-11-06 14:00:26 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2015-11-06 14:00:26 +0000 |
commit | 2c153eccc15b3b28b2a8399de5cbce7f4529b54d (patch) | |
tree | 26cc76073c2a021d3d51ab0c9f5350cba1b67e92 | |
parent | 8e41cfecc9be78eddf7827ed5f75a1291906f4d7 (diff) | |
download | FreeBSD-src-2c153eccc15b3b28b2a8399de5cbce7f4529b54d.zip FreeBSD-src-2c153eccc15b3b28b2a8399de5cbce7f4529b54d.tar.gz |
The field sinfo_timetolive should have been sinfo_pr_value.
Thanks to Jens Hoelscher for making me aware of the bug.
MFC after: 1 week
-rw-r--r-- | sys/netinet/sctp_uio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/sctp_uio.h b/sys/netinet/sctp_uio.h index 079ae83..cfc7978 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 |