mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-26 18:20:21 +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
530cb417fe
commit
6e3de21492
@ -44,7 +44,7 @@ int main(void)
|
||||
#ifdef FORCE_IPV4
|
||||
#define SERVER_ADDR "127.0.0.1" /* Forces IPv4 */
|
||||
#else
|
||||
#define SERVER_ADDR "::1"
|
||||
#define SERVER_ADDR SERVER_NAME
|
||||
#endif
|
||||
|
||||
#define MESSAGE "Echo this"
|
||||
|
Loading…
Reference in New Issue
Block a user