Commit 2ce296a5 authored by Alessandro Rubini's avatar Alessandro Rubini

arch-gnu-linux: don't loop back our own frames

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 055e2825
......@@ -320,14 +320,6 @@ static int posix_open_ch(struct pp_instance *ppi, char *ifname, int chtype)
return -1;
}
/* enable loopback */
temp = 1;
if (setsockopt(sock, IPPROTO_IP, IP_MULTICAST_LOOP,
&temp, sizeof(int)) < 0) {
pp_diag_error_str2(ppi, "IP_MULTICAST_LOOP", strerror(errno));
return -1;
}
/* make timestamps available through recvmsg() */
if (setsockopt(sock, SOL_SOCKET, SO_TIMESTAMP,
&temp, sizeof(int)) < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment