summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-08-02 20:37:02 +0000
committertuexen <tuexen@FreeBSD.org>2014-08-02 20:37:02 +0000
commit6dd06cb98166a7e138b7febaec0a24d653c3c8d0 (patch)
treed44ef35a564d083374afea9f28bc36afcf6b0580
parent08754442644626ea6b6404172789ee3111033708 (diff)
downloadFreeBSD-src-6dd06cb98166a7e138b7febaec0a24d653c3c8d0.zip
FreeBSD-src-6dd06cb98166a7e138b7febaec0a24d653c3c8d0.tar.gz
Fix a copy and paste error.
X-MFC with: 269436
-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 89df3c4..690cb6e 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 {
OpenPOWER on IntegriCloud