diff --git a/usrsctplib/netinet/sctputil.c b/usrsctplib/netinet/sctputil.c index 1abfea3f2..4a1518f72 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) {