diff options
author | Michael Tuexen <tuexen@fh-muenster.de> | 2024-05-02 16:08:16 +0200 |
---|---|---|
committer | Michael Tuexen <tuexen@fh-muenster.de> | 2024-05-02 16:08:47 +0200 |
commit | afc561fada4237040f0ee41a8895dc1c21ad72df (patch) | |
tree | 289079cbfcee2290819039ad5f7170deb4afd028 | |
parent | c4b52c34d4a7ecca6c992ba2f7f09607997d8ead (diff) | |
download | usrsctp-afc561fada4237040f0ee41a8895dc1c21ad72df.tar.gz |
SS_ISCONFIRMING has been retired in the FreeBSD kernel
-rwxr-xr-x | usrsctplib/netinet/sctputil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usrsctplib/netinet/sctputil.c b/usrsctplib/netinet/sctputil.c index 1abfea3..4a1518f 100755 --- a/usrsctplib/netinet/sctputil.c +++ b/usrsctplib/netinet/sctputil.c @@ -6269,7 +6269,9 @@ sctp_sorecvmsg(struct socket *so, } so->so_state &= ~(SS_ISCONNECTING | SS_ISDISCONNECTING | +#if !(defined(__FreeBSD__) && !defined(__Userspace__)) SS_ISCONFIRMING | +#endif SS_ISCONNECTED); if (error == 0) { if ((inp->sctp_flags & SCTP_PCB_FLAGS_WAS_CONNECTED) == 0) { |