aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-04-25 10:43:53 -0400
committerNick Mathewson <nickm@torproject.org>2017-04-25 10:43:53 -0400
commitec7c512d272d366e8e7de61aaf8108bca0adf957 (patch)
tree1231bd098d063b4f88ba92032a1019765b22764c /src/or
parent6bf82a4910db3f20c2cb81d7569224f4322681f2 (diff)
parent368b0913293dec9b392bce288753f5d90c130431 (diff)
downloadtor-ec7c512d272d366e8e7de61aaf8108bca0adf957.tar.gz
tor-ec7c512d272d366e8e7de61aaf8108bca0adf957.zip
Merge remote-tracking branch 'dgoulet/bug21293_031_01'
Diffstat (limited to 'src/or')
-rw-r--r--src/or/relay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 8524080939..1842012ed7 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -226,7 +226,8 @@ circuit_receive_relay_cell(cell_t *cell, circuit_t *circ,
return 0;
if (relay_crypt(circ, cell, cell_direction, &layer_hint, &recognized) < 0) {
- log_warn(LD_BUG,"relay crypt failed. Dropping connection.");
+ log_fn(LOG_PROTOCOL_WARN, LD_PROTOCOL,
+ "relay crypt failed. Dropping connection.");
return -END_CIRC_REASON_INTERNAL;
}