Skip to content

Commit e673c01

Browse files
committed
Fix Linux build
1 parent 16606be commit e673c01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/delegate-mq/predef/transport/linux-udp/MulticastTransport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class MulticastTransport : public ITransport
7474
return -1;
7575
}
7676

77-
int loop = 1;
77+
loop = 0; // Disable loopback for PUB
7878
setsockopt(m_socket, IPPROTO_IP, IP_MULTICAST_LOOP, &loop, sizeof(loop));
7979
}
8080
else {

0 commit comments

Comments
 (0)