Created
December 15, 2013 23:17
-
-
Save alhafoudh/7979717 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/pgm_socket.cpp b/src/pgm_socket.cpp | |
index 7925c6e..fc26161 100644 | |
--- a/src/pgm_socket.cpp | |
+++ b/src/pgm_socket.cpp | |
@@ -325,7 +325,7 @@ int zmq::pgm_socket_t::init (bool udp_encapsulation_, const char *network_) | |
// Set IP level parameters. | |
{ | |
// Multicast loopback disabled by default | |
- const int multicast_loop = 0; | |
+ const int multicast_loop = 1; | |
if (!pgm_setsockopt (sock, IPPROTO_PGM, PGM_MULTICAST_LOOP, | |
&multicast_loop, sizeof (multicast_loop))) | |
goto err_abort; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment