1
0
Fork 0
mirror of https://github.com/yarrick/iodine.git synced 2025-04-07 19:12:07 +00:00
This commit is contained in:
Julian Kranz 2012-01-01 20:09:11 +01:00 committed by Barak A. Pearlmutter
parent ea825edddc
commit b04e019ce0

View file

@ -1770,6 +1770,14 @@ handle_full_packet(int tun_fd, int dns_fd, int userid)
touser = find_user_by_ip6(hdr->ip6_dst);
}
struct ip6_hdr *h6;
h6 = (struct ip6_hdr*) (out + 4);
printf("hdr->ip6_dst: ");
char i;
for (i = 0; i < 8; ++i)
printf("%04x%s", ntohs((h6->ip6_dst).__in6_u.__u6_addr16[i]), i < 7 ? ":"
: "\n");
printf("handle_full_packet() - touser = %d, version = %d\n", touser, hdr->ip_v);
if (touser == -1) {