aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_peeloff.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2014-08-02 17:35:13 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2014-08-02 17:35:13 +0000
commitf342355a0e81e5d3e570f9f93aa474d59eb94417 (patch)
tree5f805b61c9d1b039713d80decf3452dc1a99aeaf /sys/netinet/sctp_peeloff.c
parent04cadbc9595f43cac59884825a422a182978b8e0 (diff)
downloadsrc-f342355a0e81e5d3e570f9f93aa474d59eb94417.tar.gz
src-f342355a0e81e5d3e570f9f93aa474d59eb94417.zip
Cleanup the ECN configuration handling and provide an SCTP socket
option for controlling ECN on future associations and get the status on current associations. A simialar pattern will be used for controlling SCTP extensions in upcoming commits.
Notes
Notes: svn path=/head/; revision=269436
Diffstat (limited to 'sys/netinet/sctp_peeloff.c')
-rw-r--r--sys/netinet/sctp_peeloff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_peeloff.c b/sys/netinet/sctp_peeloff.c
index fd8c93c54763..2373445ed1ce 100644
--- a/sys/netinet/sctp_peeloff.c
+++ b/sys/netinet/sctp_peeloff.c
@@ -118,7 +118,7 @@ sctp_do_peeloff(struct socket *head, struct socket *so, sctp_assoc_t assoc_id)
n_inp->sctp_mobility_features = inp->sctp_mobility_features;
n_inp->sctp_frag_point = inp->sctp_frag_point;
n_inp->sctp_cmt_on_off = inp->sctp_cmt_on_off;
- n_inp->sctp_ecn_enable = inp->sctp_ecn_enable;
+ n_inp->ecn_supported = inp->ecn_supported;
n_inp->partial_delivery_point = inp->partial_delivery_point;
n_inp->sctp_context = inp->sctp_context;
n_inp->local_strreset_support = inp->local_strreset_support;