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:
Gilles Peskine 2024-09-05 14:51:58 +02:00
parent 530cb417fe
commit 6e3de21492

View File

@ -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"