aboutsummaryrefslogtreecommitdiff
path: root/src/exit/gnunet-daemon-exit.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-20 17:47:07 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-20 17:47:07 +0000
commite0b6f7dc5c6b9e4bcfc8bfe30b91bc1d859755f3 (patch)
tree24e4853ad888395e326c99ca02013c8428704985 /src/exit/gnunet-daemon-exit.c
parent8154c9edf0d39e8fec6f199115b02e84e49bba0b (diff)
downloadgnunet-e0b6f7dc5c6b9e4bcfc8bfe30b91bc1d859755f3.tar.gz
gnunet-e0b6f7dc5c6b9e4bcfc8bfe30b91bc1d859755f3.zip
-fix getting output from sysctl into service-helper interactions
Diffstat (limited to 'src/exit/gnunet-daemon-exit.c')
-rw-r--r--src/exit/gnunet-daemon-exit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/exit/gnunet-daemon-exit.c b/src/exit/gnunet-daemon-exit.c
index 9bdfba7da..8e29351f8 100644
--- a/src/exit/gnunet-daemon-exit.c
+++ b/src/exit/gnunet-daemon-exit.c
@@ -678,7 +678,7 @@ tcp_from_helper (const struct GNUNET_TUN_TcpHeader *tcp,
678 sbuf, sizeof (sbuf)), 678 sbuf, sizeof (sbuf)),
679 (unsigned int) ntohs (tcp->spt), 679 (unsigned int) ntohs (tcp->spt),
680 inet_ntop (af, 680 inet_ntop (af,
681 source_ip, 681 destination_ip,
682 dbuf, sizeof (dbuf)), 682 dbuf, sizeof (dbuf)),
683 (unsigned int) ntohs (tcp->dpt)); 683 (unsigned int) ntohs (tcp->dpt));
684 } 684 }
@@ -745,6 +745,10 @@ message_token (void *cls GNUNET_UNUSED, void *client GNUNET_UNUSED,
745 const struct GNUNET_TUN_Layer2PacketHeader *pkt_tun; 745 const struct GNUNET_TUN_Layer2PacketHeader *pkt_tun;
746 size_t size; 746 size_t size;
747 747
748 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
749 "Got %u-byte message of type %u from gnunet-helper-exit\n",
750 ntohs (message->size),
751 ntohs (message->type));
748 GNUNET_STATISTICS_update (stats, 752 GNUNET_STATISTICS_update (stats,
749 gettext_noop ("# Packets received from TUN"), 753 gettext_noop ("# Packets received from TUN"),
750 1, GNUNET_NO); 754 1, GNUNET_NO);