does not connect
FossilOrigin-Name: 0670318754e98217a9d992c6d5c310b35fca562ea56b0d56e0a5e7f074994271
This commit is contained in:
parent
3526456aa9
commit
ca3c172ecc
@ -129,7 +129,7 @@ int run_join_d(struct conn * conn, struct sockaddr *sa)
|
|||||||
|
|
||||||
/* we call connect to bind this socket to a local IP address,
|
/* we call connect to bind this socket to a local IP address,
|
||||||
* which we can later obtain by getsockname */
|
* which we can later obtain by getsockname */
|
||||||
rc = connect(sockfd, (struct sockaddr *) sa,
|
/* rc = connect(sockfd, (struct sockaddr *) sa,
|
||||||
sock_addrlen((struct sockaddr *) sa));
|
sock_addrlen((struct sockaddr *) sa));
|
||||||
|
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
@ -139,7 +139,7 @@ int run_join_d(struct conn * conn, struct sockaddr *sa)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*/
|
||||||
cw_dbg(DBG_DTLS, "Establishing DTLS session with %s", sock_addr2str(sa, addrstr));
|
cw_dbg(DBG_DTLS, "Establishing DTLS session with %s", sock_addr2str(sa, addrstr));
|
||||||
|
|
||||||
rc = dtls_connect(conn);
|
rc = dtls_connect(conn);
|
||||||
|
Loading…
Reference in New Issue
Block a user