From 69659bce9718d27a379e60bad2979ec94340b707 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 24 Jul 2013 19:03:44 +0200 Subject: Include IP address in "sending handshake" debug messages --- src/fastd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/fastd.c b/src/fastd.c index 8ba4ea3..43b0a0a 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -815,7 +815,7 @@ static void send_handshake(fastd_context_t *ctx, fastd_peer_t *peer) { return; } - pr_debug(ctx, "sending handshake to %P...", peer); + pr_debug(ctx, "sending handshake to %P[%I]...", peer, &peer->address); peer->last_handshake = ctx->now; peer->last_handshake_address = peer->address; ctx->conf->protocol->handshake_init(ctx, peer->sock, &peer->local_address, &peer->address, peer); -- cgit v1.2.3