From 8e03b253f24f53118a20a4a89eafbb482a346adb Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 25 May 2015 13:02:31 +0000 Subject: -logging --- src/vpn/gnunet-service-vpn.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/vpn/gnunet-service-vpn.c') diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 21fab6086..304ecb33c 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c @@ -743,12 +743,12 @@ handle_regex_result (void *cls, struct ChannelState *ts = cls; unsigned int apptype; - GNUNET_REGEX_search_cancel (ts->search); - ts->search = NULL; GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Exit %s found for destination %s!\n", GNUNET_i2s (id), print_channel_destination (&ts->destination)); + GNUNET_REGEX_search_cancel (ts->search); + ts->search = NULL; switch (ts->af) { case AF_INET: @@ -761,6 +761,10 @@ handle_regex_result (void *cls, GNUNET_break (0); return; } + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Creating tunnel to %s for destination %s!\n", + GNUNET_i2s (id), + print_channel_destination (&ts->destination)); ts->channel = GNUNET_CADET_channel_create (cadet_handle, ts, id, @@ -2830,8 +2834,8 @@ service_redirect_to_service (void *cls, */ static void channel_cleaner (void *cls, - const struct GNUNET_CADET_Channel *channel, - void *channel_ctx) + const struct GNUNET_CADET_Channel *channel, + void *channel_ctx) { struct ChannelState *ts = channel_ctx; -- cgit v1.2.3