mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-12 05:20:59 +00:00
---
This commit is contained in:
parent
78de805610
commit
3ed38c0962
2 changed files with 1 additions and 4 deletions
|
@ -184,7 +184,7 @@ open_dns_ipv6(int localport, struct in6_addr listen_ip6)
|
||||||
|
|
||||||
#ifndef WINDOWS32
|
#ifndef WINDOWS32
|
||||||
/* To get destination address from each UDP datagram, see iodined.c:read_dns() */
|
/* 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
|
#endif
|
||||||
|
|
||||||
#ifdef IP_OPT_DONT_FRAG
|
#ifdef IP_OPT_DONT_FRAG
|
||||||
|
|
|
@ -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);
|
r = recvmsg(fd, &msg, 0);
|
||||||
|
|
||||||
printf("Elende Zicke\n");
|
|
||||||
ipv6_print(msg.msg_control, 00);
|
|
||||||
|
|
||||||
printf("[DEBUG] read_dns() - Received message...\n");
|
printf("[DEBUG] read_dns() - Received message...\n");
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue