Fixed issue with the DTLS EmbedReceiveFrom() callback using IPv6.
This commit is contained in:
parent
fdb2416e49
commit
773d0da1bc
2
src/io.c
2
src/io.c
@ -335,7 +335,7 @@ int EmbedReceiveFrom(CYASSL *ssl, char *buf, int sz, void *ctx)
|
||||
int err;
|
||||
int sd = dtlsCtx->fd;
|
||||
int dtls_timeout = CyaSSL_dtls_get_current_timeout(ssl);
|
||||
struct sockaddr_in peer;
|
||||
struct sockaddr_in6 peer;
|
||||
XSOCKLENT peerSz = sizeof(peer);
|
||||
|
||||
CYASSL_ENTER("EmbedReceiveFrom()");
|
||||
|
Loading…
x
Reference in New Issue
Block a user