diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-02-18 14:53:46 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-02-18 14:53:46 +0100 |
commit | 7d2c6c5faf0c2d433f0ee8d8f93f8f791da5b091 (patch) | |
tree | b806dfa2cdaaf1107bf1214e2a42003563148fc6 /socket.c | |
parent | cbc11436c4349e582f1bbdafa0446d232de24e22 (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.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -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); |