mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
dtls_client: don't force the use of IPv6
Default to connecting to "localhost", like ssl_client1. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
3104685cc6
commit
ff85e91914
@ -44,7 +44,7 @@ int main(void)
|
|||||||
#ifdef FORCE_IPV4
|
#ifdef FORCE_IPV4
|
||||||
#define SERVER_ADDR "127.0.0.1" /* Forces IPv4 */
|
#define SERVER_ADDR "127.0.0.1" /* Forces IPv4 */
|
||||||
#else
|
#else
|
||||||
#define SERVER_ADDR "::1"
|
#define SERVER_ADDR SERVER_NAME
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define MESSAGE "Echo this"
|
#define MESSAGE "Echo this"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user