summaryrefslogtreecommitdiff
path: root/socket.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2015-02-18 14:53:46 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-02-18 14:53:46 +0100
commit7d2c6c5faf0c2d433f0ee8d8f93f8f791da5b091 (patch)
treeb806dfa2cdaaf1107bf1214e2a42003563148fc6 /socket.c
parentcbc11436c4349e582f1bbdafa0446d232de24e22 (diff)
socket: Don't unnecessarily disable IP_MULTICAST_LOOP
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'socket.c')
-rw-r--r--socket.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/socket.c b/socket.c
index e501c3a..cca2fc3 100644
--- a/socket.c
+++ b/socket.c
@@ -74,12 +74,6 @@ int socket_open_v4(uint16_t port)
goto err;
}
- /* disable multicast loopback */
- if (setsockopt(sock, IPPROTO_IP, IP_MULTICAST_LOOP, &NO, sizeof(NO)) < 0) {
- log_err("Failed to disable multicast loopback: %s\n", strerror(errno));
- goto err;
- }
-
return sock;
err:
close(sock);