diff options
author | Julius Bünger <buenger@mytum.de> | 2018-07-05 22:06:54 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2018-07-05 22:06:54 +0200 |
commit | 8d2bd1dd06bc416277f623d2c9d84cf0da5624fe (patch) | |
tree | 83e02c7fb8769c448ba6f44005eb80abb8bb7dff /src | |
parent | dbdb128c604560e22b56b9ba139f0b8ff28efcb3 (diff) | |
download | gnunet-8d2bd1dd06bc416277f623d2c9d84cf0da5624fe.tar.gz gnunet-8d2bd1dd06bc416277f623d2c9d84cf0da5624fe.zip |
rps service: additional logging of unexpected channel establishing
Diffstat (limited to 'src')
-rw-r--r-- | src/rps/gnunet-service-rps.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c index db09c68d2..aef6a72de 100644 --- a/src/rps/gnunet-service-rps.c +++ b/src/rps/gnunet-service-rps.c | |||
@@ -1534,6 +1534,9 @@ Peers_handle_inbound_channel (void *cls, | |||
1534 | /* We only accept one incoming channel per peer */ | 1534 | /* We only accept one incoming channel per peer */ |
1535 | if (GNUNET_YES == Peers_check_peer_send_intention (initiator)) | 1535 | if (GNUNET_YES == Peers_check_peer_send_intention (initiator)) |
1536 | { | 1536 | { |
1537 | LOG (GNUNET_ERROR_TYPE_WARNING, | ||
1538 | "Already got one receive channel. Destroying old one.\n"); | ||
1539 | GNUNET_break_op (0); | ||
1537 | set_channel_flag (peer_ctx->recv_channel_flags, | 1540 | set_channel_flag (peer_ctx->recv_channel_flags, |
1538 | Peers_CHANNEL_ESTABLISHED_TWICE); | 1541 | Peers_CHANNEL_ESTABLISHED_TWICE); |
1539 | //GNUNET_CADET_channel_destroy (channel); | 1542 | //GNUNET_CADET_channel_destroy (channel); |