summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-07-24 19:03:44 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-07-24 19:03:44 +0200
commit69659bce9718d27a379e60bad2979ec94340b707 (patch)
treeed295e0dd025ed456f012c8eb5fe405a5f638afc
parentaae5265eb5ebe806414f383f99bb765dbdcaee4b (diff)
downloadfastd-69659bce9718d27a379e60bad2979ec94340b707.tar
fastd-69659bce9718d27a379e60bad2979ec94340b707.zip
Include IP address in "sending handshake" debug messages
-rw-r--r--src/fastd.c2
1 files changed, 1 insertions, 1 deletions
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);