Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piscisaureus/1710898 to your computer and use it in GitHub Desktop.
Save piscisaureus/1710898 to your computer and use it in GitHub Desktop.
From eaae7879872cd8fb009460b928e7e58ae114bd61 Mon Sep 17 00:00:00 2001
From: Bert Belder <bertbelder@gmail.com>
Date: Tue, 31 Jan 2012 15:54:34 +0100
Subject: [PATCH 1/1] test-multicast-join: don't attempt to bind to a
multicast address
---
test/test-udp-multicast-join.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/test-udp-multicast-join.c b/test/test-udp-multicast-join.c
index 159dba0..b32ef07 100644
--- a/test/test-udp-multicast-join.c
+++ b/test/test-udp-multicast-join.c
@@ -99,7 +99,7 @@ TEST_IMPL(udp_multicast_join) {
int r;
uv_udp_send_t req;
uv_buf_t buf;
- struct sockaddr_in addr = uv_ip4_addr("239.255.0.1", TEST_PORT);
+ struct sockaddr_in addr = uv_ip4_addr("127.0.0.1", TEST_PORT);
r = uv_udp_init(uv_default_loop(), &server);
ASSERT(r == 0);
--
1.7.7.1.msysgit.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment