diff options
Diffstat (limited to 'src/cadet/gnunet-service-cadet_tunnel.c')
-rw-r--r-- | src/cadet/gnunet-service-cadet_tunnel.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c index 391c8ef60..b03623ad2 100644 --- a/src/cadet/gnunet-service-cadet_tunnel.c +++ b/src/cadet/gnunet-service-cadet_tunnel.c | |||
@@ -1587,10 +1587,11 @@ handle_pong (struct CadetTunnel3 *t, | |||
1587 | 1587 | ||
1588 | if (challenge != t->kx_ctx->challenge) | 1588 | if (challenge != t->kx_ctx->challenge) |
1589 | { | 1589 | { |
1590 | LOG (GNUNET_ERROR_TYPE_WARNING, "Wrong PONG challenge\n"); | 1590 | LOG (GNUNET_ERROR_TYPE_WARNING, "Wrong PONG challenge on %s\n", GMT_2s (t)); |
1591 | LOG (GNUNET_ERROR_TYPE_DEBUG, "PONG: %u (e: %u). Expected: %u.\n", | 1591 | LOG (GNUNET_ERROR_TYPE_WARNING, "PONG: %u (e: %u). Expected: %u.\n", |
1592 | challenge, msg->nonce, t->kx_ctx->challenge); | 1592 | challenge, msg->nonce, t->kx_ctx->challenge); |
1593 | GNUNET_break_op (0); | 1593 | send_ephemeral (t); |
1594 | send_ping (t); | ||
1594 | return; | 1595 | return; |
1595 | } | 1596 | } |
1596 | GNUNET_SCHEDULER_cancel (t->rekey_task); | 1597 | GNUNET_SCHEDULER_cancel (t->rekey_task); |