summaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_output.c
diff options
context:
space:
mode:
authorMichael Tuexen <tuexen@FreeBSD.org>2016-06-03 07:24:41 +0000
committerMichael Tuexen <tuexen@FreeBSD.org>2016-06-03 07:24:41 +0000
commit565cccce37d6e987734fbf110d01a3b5bcc236e9 (patch)
treef3f1cb56dce161807b7be81600217bc6dac159af /sys/netinet/sctp_output.c
parent2ec2c641873d6a756412af0c3ca0ec17200ce0fb (diff)
downloadsrc-test2-565cccce37d6e987734fbf110d01a3b5bcc236e9.tar.gz
src-test2-565cccce37d6e987734fbf110d01a3b5bcc236e9.zip
Notes
Diffstat (limited to 'sys/netinet/sctp_output.c')
-rw-r--r--sys/netinet/sctp_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c
index a43f87146d60..6d71f7d1e653 100644
--- a/sys/netinet/sctp_output.c
+++ b/sys/netinet/sctp_output.c
@@ -5828,7 +5828,7 @@ do_a_abort:
/* Now lets put the SCTP header in place */
initack = mtod(m, struct sctp_init_ack_chunk *);
/* Save it off for quick ref */
- stc.peers_vtag = init_chk->init.initiate_tag;
+ stc.peers_vtag = ntohl(init_chk->init.initiate_tag);
/* who are we */
memcpy(stc.identification, SCTP_VERSION_STRING,
min(strlen(SCTP_VERSION_STRING), sizeof(stc.identification)));