mirror of
https://github.com/yarrick/iodine.git
synced 2025-04-10 04:21:01 +00:00
---
This commit is contained in:
parent
8c12e7d8a3
commit
37e1673b53
1 changed files with 6 additions and 3 deletions
|
@ -2077,6 +2077,9 @@ 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
|
||||||
|
@ -2126,12 +2129,12 @@ read_dns(int fd, int tun_fd, struct query *q) /* FIXME: tun_fd is because of raw
|
||||||
|
|
||||||
memcpy(&q->destination.v6, cmsg->__cmsg_data, sizeof(struct in6_addr));
|
memcpy(&q->destination.v6, cmsg->__cmsg_data, sizeof(struct in6_addr));
|
||||||
|
|
||||||
printf("Vaavvaaaa\n");
|
|
||||||
ipv6_print(&q->destination.v6, 00);
|
|
||||||
|
|
||||||
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