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

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 */