mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-10 04:21:01 +00:00
---
This commit is contained in:
parent
37e1673b53
commit
78de805610
1 changed files with 2 additions and 3 deletions
|
@ -2116,6 +2116,8 @@ read_dns(int fd, int tun_fd, struct query *q) /* FIXME: tun_fd is because of raw
|
||||||
cmsg = CMSG_NXTHDR(&msg, cmsg)) {
|
cmsg = CMSG_NXTHDR(&msg, cmsg)) {
|
||||||
|
|
||||||
printf("cmsg != NULL!\n");
|
printf("cmsg != NULL!\n");
|
||||||
|
printf("Vaavvaaaa\n");
|
||||||
|
ipv6_print(cmsg->__cmsg_data, 00);
|
||||||
|
|
||||||
if (cmsg->cmsg_level == IPPROTO_IP &&
|
if (cmsg->cmsg_level == IPPROTO_IP &&
|
||||||
cmsg->cmsg_type == DSTADDR_SOCKOPT) {
|
cmsg->cmsg_type == DSTADDR_SOCKOPT) {
|
||||||
|
@ -2132,9 +2134,6 @@ read_dns(int fd, int tun_fd, struct query *q) /* FIXME: tun_fd is because of raw
|
||||||
break;// printf("write_dns()\n");
|
break;// printf("write_dns()\n");
|
||||||
// ipv6_print(&q->from.v6, 44);
|
// ipv6_print(&q->from.v6, 44);
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("Vaavvaaaa\n");
|
|
||||||
ipv6_print(cmsg->__cmsg_data, 00);
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
return strlen(q->name);
|
return strlen(q->name);
|
||||||
|
|
Loading…
Add table
Reference in a new issue