Use a macro to set the assoc state. I missed this in r337706.

This commit is contained in:
Michael Tuexen 2018-08-14 08:33:47 +00:00
parent 0f1346f7f4
commit 98f04e431e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337738

View File

@ -919,7 +919,7 @@ sctp6_connect(struct socket *so, struct sockaddr *addr, struct thread *p)
/* Set the connected flag so we can queue data */
soisconnecting(so);
}
stcb->asoc.state = SCTP_STATE_COOKIE_WAIT;
SCTP_SET_STATE(stcb, SCTP_STATE_COOKIE_WAIT);
(void)SCTP_GETTIME_TIMEVAL(&stcb->asoc.time_entered);
/* initialize authentication parameters for the assoc */