Use a macro to set the assoc state. I missed this in r337706.
This commit is contained in:
parent
0f1346f7f4
commit
98f04e431e
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user