[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r16223 - gnunet/src/vpn
From: |
gnunet |
Subject: |
[GNUnet-SVN] r16223 - gnunet/src/vpn |
Date: |
Wed, 27 Jul 2011 09:28:13 +0200 |
Author: toelke
Date: 2011-07-27 09:28:13 +0200 (Wed, 27 Jul 2011)
New Revision: 16223
Modified:
gnunet/src/vpn/gnunet-daemon-vpn-helper.c
gnunet/src/vpn/gnunet-daemon-vpn.c
Log:
debug vpn
Modified: gnunet/src/vpn/gnunet-daemon-vpn-helper.c
===================================================================
--- gnunet/src/vpn/gnunet-daemon-vpn-helper.c 2011-07-27 07:28:12 UTC (rev
16222)
+++ gnunet/src/vpn/gnunet-daemon-vpn-helper.c 2011-07-27 07:28:13 UTC (rev
16223)
@@ -364,6 +364,25 @@
}
}
}
+ else
+ {
+ GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "Packet to
%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x, which
has no mapping\n", pkt6->ip6_hdr.dadr[0],
+ pkt6->ip6_hdr.dadr[1],
+ pkt6->ip6_hdr.dadr[2],
+ pkt6->ip6_hdr.dadr[3],
+ pkt6->ip6_hdr.dadr[4],
+ pkt6->ip6_hdr.dadr[5],
+ pkt6->ip6_hdr.dadr[6],
+ pkt6->ip6_hdr.dadr[7],
+ pkt6->ip6_hdr.dadr[8],
+ pkt6->ip6_hdr.dadr[9],
+ pkt6->ip6_hdr.dadr[10],
+ pkt6->ip6_hdr.dadr[11],
+ pkt6->ip6_hdr.dadr[12],
+ pkt6->ip6_hdr.dadr[13],
+ pkt6->ip6_hdr.dadr[14],
+ pkt6->ip6_hdr.dadr[15]);
+ }
break;
case 0x3a:
/* ICMPv6 */
Modified: gnunet/src/vpn/gnunet-daemon-vpn.c
===================================================================
--- gnunet/src/vpn/gnunet-daemon-vpn.c 2011-07-27 07:28:12 UTC (rev 16222)
+++ gnunet/src/vpn/gnunet-daemon-vpn.c 2011-07-27 07:28:13 UTC (rev 16223)
@@ -421,6 +421,23 @@
unsigned char* c = ((unsigned char*)pkt)+ntohs(pkt->addroffset);
new_ip6addr_remote(c, pkt->addr, pkt->addrsize);
+ GNUNET_log(GNUNET_ERROR_TYPE_DEBUG, "New mapping to
%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x:%02x%02x\n",
+ c[0],
+ c[1],
+ c[2],
+ c[3],
+ c[4],
+ c[5],
+ c[6],
+ c[7],
+ c[8],
+ c[9],
+ c[10],
+ c[11],
+ c[12],
+ c[13],
+ c[14],
+ c[15]);
unsigned char* k = (unsigned char*)&key;
/*
* Copy the newly generated ip-address to the key backwards (as only
the first part is used in the hash-table)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r16223 - gnunet/src/vpn,
gnunet <=