Fixed issue with the DTLS EmbedReceiveFrom() callback using IPv6.

pull/1/head
John Safranek 2013-06-26 17:40:21 -07:00
parent fdb2416e49
commit 773d0da1bc
1 changed files with 1 additions and 1 deletions

View File

@ -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()");