aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_usrreq.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2014-08-02 20:37:02 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2014-08-02 20:37:02 +0000
commit59a86c85bbfe4ce41806544512748a8949fdc06b (patch)
treed44ef35a564d083374afea9f28bc36afcf6b0580 /sys/netinet/sctp_usrreq.c
parent475267eff1f7bb8e8c783f6bf205019079f0e0de (diff)
downloadsrc-59a86c85bbfe4ce41806544512748a8949fdc06b.tar.gz
src-59a86c85bbfe4ce41806544512748a8949fdc06b.zip
Notes
Diffstat (limited to 'sys/netinet/sctp_usrreq.c')
-rw-r--r--sys/netinet/sctp_usrreq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_usrreq.c b/sys/netinet/sctp_usrreq.c
index 89df3c40682e..690cb6e280b4 100644
--- a/sys/netinet/sctp_usrreq.c
+++ b/sys/netinet/sctp_usrreq.c
@@ -5903,7 +5903,7 @@ sctp_setopt(struct socket *so, int optname, void *optval, size_t optsize,
if (av->assoc_value == 0) {
inp->ecn_supported = 0;
} else {
- inp->ecn_supported = 0;
+ inp->ecn_supported = 1;
}
SCTP_INP_WUNLOCK(inp);
} else {