summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Antonuk <alan.antonuk@gmail.com>2023-05-03 01:28:44 +0000
committerAlan Antonuk <alan.antonuk@gmail.com>2023-05-02 18:38:26 -0700
commitca9a736ead11d8d9ffdef59f2b374a3a63e2ef43 (patch)
treed137c571650d8f105e07bfcceca21a4e0f8b7ca3
parenta135e871dfe430043d1406eb2fbe4d70a5145289 (diff)
downloadrabbitmq-c-ca9a736ead11d8d9ffdef59f2b374a3a63e2ef43.tar.gz
fuzz: connect to 127.0.0.1 instead of localhost
We're observing ENETUNREACH, the thought is that something about name lookup is returning something that we cannot connect to, which makes connect fail eith ENETUNREACH. Signed-off-by: GitHub <noreply@github.com>
-rw-r--r--fuzz/fuzz_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/fuzz_server.c b/fuzz/fuzz_server.c
index de500ed..c21426f 100644
--- a/fuzz/fuzz_server.c
+++ b/fuzz/fuzz_server.c
@@ -124,7 +124,7 @@ void client(Fuzzer *fuzzer) {
amqp_socket_t *socket = NULL;
amqp_connection_state_t conn;
- hostname = "localhost";
+ hostname = "127.0.0.1";
conn = amqp_new_connection();