aboutsummaryrefslogtreecommitdiff
path: root/src/vpn/gnunet-daemon-vpn.c
diff options
context:
space:
mode:
authorPhilipp Tölke <toelke@in.tum.de>2011-07-27 07:28:13 +0000
committerPhilipp Tölke <toelke@in.tum.de>2011-07-27 07:28:13 +0000
commite4071f9273c379d2a034b0e60676a3a9c6e58911 (patch)
treec95410ddc026031ae028935bbabd2bd3d195942b /src/vpn/gnunet-daemon-vpn.c
parent1661f20b186d8b7f220397bac2077d3790d8a378 (diff)
downloadgnunet-e4071f9273c379d2a034b0e60676a3a9c6e58911.tar.gz
gnunet-e4071f9273c379d2a034b0e60676a3a9c6e58911.zip
debug vpn
Diffstat (limited to 'src/vpn/gnunet-daemon-vpn.c')
-rw-r--r--src/vpn/gnunet-daemon-vpn.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/vpn/gnunet-daemon-vpn.c b/src/vpn/gnunet-daemon-vpn.c
index cef876b52..9ff43cd7f 100644
--- a/src/vpn/gnunet-daemon-vpn.c
+++ b/src/vpn/gnunet-daemon-vpn.c
@@ -421,6 +421,23 @@ process_answer(void* cls, const struct GNUNET_SCHEDULER_TaskContext* tc) {
421 421
422 unsigned char* c = ((unsigned char*)pkt)+ntohs(pkt->addroffset); 422 unsigned char* c = ((unsigned char*)pkt)+ntohs(pkt->addroffset);
423 new_ip6addr_remote(c, pkt->addr, pkt->addrsize); 423 new_ip6addr_remote(c, pkt->addr, pkt->addrsize);
424 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",
425 c[0],
426 c[1],
427 c[2],
428 c[3],
429 c[4],
430 c[5],
431 c[6],
432 c[7],
433 c[8],
434 c[9],
435 c[10],
436 c[11],
437 c[12],
438 c[13],
439 c[14],
440 c[15]);
424 unsigned char* k = (unsigned char*)&key; 441 unsigned char* k = (unsigned char*)&key;
425 /* 442 /*
426 * Copy the newly generated ip-address to the key backwards (as only the first part is used in the hash-table) 443 * Copy the newly generated ip-address to the key backwards (as only the first part is used in the hash-table)