mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 05:26:20 +02:00
Bug 30992: Demote logline of wronghop padding to protocol warn.
This can happen, it's not great, but it's not the worst thing in the world either. Deferring full fix for 0.4.2/later.
This commit is contained in:
parent
ccd16caeac
commit
f6bc9d7c7e
@ -2907,7 +2907,7 @@ circpad_handle_padding_negotiated(circuit_t *circ, cell_t *cell,
|
|||||||
|
|
||||||
/* Verify this came from the expected hop */
|
/* Verify this came from the expected hop */
|
||||||
if (!circpad_padding_is_from_expected_hop(circ, layer_hint)) {
|
if (!circpad_padding_is_from_expected_hop(circ, layer_hint)) {
|
||||||
log_fn(LOG_WARN, LD_CIRC,
|
log_fn(LOG_PROTOCOL_WARN, LD_CIRC,
|
||||||
"Padding negotiated cell from wrong hop on circuit %u",
|
"Padding negotiated cell from wrong hop on circuit %u",
|
||||||
TO_ORIGIN_CIRCUIT(circ)->global_identifier);
|
TO_ORIGIN_CIRCUIT(circ)->global_identifier);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user