diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-07-24 19:03:44 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-07-24 19:03:44 +0200 |
commit | 69659bce9718d27a379e60bad2979ec94340b707 (patch) | |
tree | ed295e0dd025ed456f012c8eb5fe405a5f638afc /src/fastd.c | |
parent | aae5265eb5ebe806414f383f99bb765dbdcaee4b (diff) | |
download | fastd-69659bce9718d27a379e60bad2979ec94340b707.tar fastd-69659bce9718d27a379e60bad2979ec94340b707.zip |
Include IP address in "sending handshake" debug messages
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 2 |
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); |