1
0
Fork 0
mirror of https://github.com/yarrick/iodine.git synced 2025-04-05 14:23:33 +03:00
This commit is contained in:
Julian Kranz 2012-01-28 14:35:59 +01:00 committed by Barak A. Pearlmutter
parent 78de805610
commit 3ed38c0962
2 changed files with 1 additions and 4 deletions

View file

@ -184,7 +184,7 @@ open_dns_ipv6(int localport, struct in6_addr listen_ip6)
#ifndef WINDOWS32
/* To get destination address from each UDP datagram, see iodined.c:read_dns() */
setsockopt(fd, IPPROTO_IPV6, DSTADDR_SOCKOPT, (const void*) &flag, sizeof(flag));
setsockopt(fd, IPPROTO_IPV6, IPV6_RECVPKTINFO, (const void*) &flag, sizeof(flag));
#endif
#ifdef IP_OPT_DONT_FRAG

View file

@ -2077,9 +2077,6 @@ read_dns(int fd, int tun_fd, struct query *q) /* FIXME: tun_fd is because of raw
r = recvmsg(fd, &msg, 0);
printf("Elende Zicke\n");
ipv6_print(msg.msg_control, 00);
printf("[DEBUG] read_dns() - Received message...\n");
#else