Skip to content

Commit

Permalink
attempt INADDR_LOOPBACK
Browse files Browse the repository at this point in the history
  • Loading branch information
toidiu committed Feb 9, 2023
1 parent 708a342 commit 4007dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/s2n_self_talk_inet_socket_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 4007dbc

Please sign in to comment.