From 2c4a6491ee0fdcfc0f20af1832d66e07810bee75 Mon Sep 17 00:00:00 2001 From: Julian Kranz Date: Sun, 1 Jan 2012 20:20:57 +0100 Subject: [PATCH] --- --- src/iodined.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/iodined.c b/src/iodined.c index b2ef7d5..0f6f907 100644 --- a/src/iodined.c +++ b/src/iodined.c @@ -571,6 +571,12 @@ tunnel_tun(int tun_fd, int dns_fd) userid = find_user_by_ip6(header6->ip6_dst); } + printf("header6->ip6_dst: "); + char i; + for (i = 0; i < 8; ++i) + printf("%04x%s", ntohs((header6->ip6_dst).__in6_u.__u6_addr16[i]), i < 7 ? ":" + : "\n"); + printf("tunnel_tun() - userid = %d, ntohs(header_info[1]) = %d\n", userid, ntohs(header_info[1])); if (userid < 0)