1
0
Fork 0
mirror of https://github.com/yarrick/iodine.git synced 2025-04-11 21:10:56 +00:00
This commit is contained in:
Julian Kranz 2012-01-01 20:51:48 +01:00 committed by Barak A. Pearlmutter
parent d4e867c74e
commit 2f599c8458

View file

@ -571,11 +571,11 @@ tunnel_tun(int tun_fd, int dns_fd)
userid = find_user_by_ip6(header6->ip6_dst); userid = find_user_by_ip6(header6->ip6_dst);
} }
printf("header6->ip6_dst: "); // printf("header6->ip6_dst: ");
char i; // char i;
for (i = 0; i < 8; ++i) // for (i = 0; i < 8; ++i)
printf("%04x%s", ntohs((header6->ip6_dst).__in6_u.__u6_addr16[i]), i < 7 ? ":" // printf("%04x%s", ntohs((header6->ip6_dst).__in6_u.__u6_addr16[i]), i < 7 ? ":"
: "\n"); // : "\n");
printf("tunnel_tun() - userid = %d, header_info[1] = %d\n", userid, header_info[1]); printf("tunnel_tun() - userid = %d, header_info[1] = %d\n", userid, header_info[1]);