From 4007dbc61007d5f5eae5d87ab7e8b47626ad2e17 Mon Sep 17 00:00:00 2001 From: Apoorv Kothari Date: Thu, 9 Feb 2023 12:11:26 -0800 Subject: [PATCH] attempt INADDR_LOOPBACK --- tests/unit/s2n_self_talk_inet_socket_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/s2n_self_talk_inet_socket_test.c b/tests/unit/s2n_self_talk_inet_socket_test.c index 7eaf22e9840..952dd96822b 100644 --- a/tests/unit/s2n_self_talk_inet_socket_test.c +++ b/tests/unit/s2n_self_talk_inet_socket_test.c @@ -131,7 +131,7 @@ int main(int argc, char **argv) struct sockaddr_in saddr; memset(&saddr, 0, sizeof(saddr)); saddr.sin_family = AF_INET; - saddr.sin_addr.s_addr = htonl(INADDR_ANY); + saddr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); saddr.sin_port = 0; /* listen on socket address */