diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2020-10-16 10:44:48 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2020-10-16 10:44:48 +0000 |
commit | a92d501617fd9dc47b148e4e8ab1bf63c92d9b14 (patch) | |
tree | 0bd7093c2477e766a5b08fe5d2385157447e0e7c /sys/netinet/sctp_output.c | |
parent | 139c09788bab89163a0378b753bc02f744b7ae10 (diff) | |
download | src-test2-a92d501617fd9dc47b148e4e8ab1bf63c92d9b14.tar.gz src-test2-a92d501617fd9dc47b148e4e8ab1bf63c92d9b14.zip |
Notes
Diffstat (limited to 'sys/netinet/sctp_output.c')
-rw-r--r-- | sys/netinet/sctp_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_output.c b/sys/netinet/sctp_output.c index 62a2a37637ec..dcd59719b6e1 100644 --- a/sys/netinet/sctp_output.c +++ b/sys/netinet/sctp_output.c @@ -4814,7 +4814,7 @@ sctp_send_initiate(struct sctp_inpcb *inp, struct sctp_tcb *stcb, int so_locked) } /* now any cookie time extensions */ - if (stcb->asoc.cookie_preserve_req) { + if (stcb->asoc.cookie_preserve_req > 0) { struct sctp_cookie_perserve_param *cookie_preserve; if (padding_len > 0) { |