commit 5f95b37f6c76d0f8772cb00db5bc7b7f97d942fa Author: pulls tobias.pulls@kau.se Date: Mon Jul 8 18:09:14 2019 +0200
remove specified target_hopnum from relay-side machines (only for origin-side machines) --- src/core/or/circuitpadding_machines.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/src/core/or/circuitpadding_machines.c b/src/core/or/circuitpadding_machines.c index 75d2614ac..97828553a 100644 --- a/src/core/or/circuitpadding_machines.c +++ b/src/core/or/circuitpadding_machines.c @@ -155,7 +155,6 @@ circpad_machine_relay_hide_intro_circuits(smartlist_t *machines_sl) relay_machine->name = "relay_ip_circ";
relay_machine->conditions.state_mask = CIRCPAD_CIRC_OPENED; - relay_machine->target_hopnum = 2;
/* This is a relay-side machine */ relay_machine->is_origin_side = 0; @@ -387,7 +386,6 @@ circpad_machine_relay_hide_rend_circuits(smartlist_t *machines_sl) /* Only pad after the circuit has been built and pad to the middle */ relay_machine->conditions.min_hops = 2; relay_machine->conditions.state_mask = CIRCPAD_CIRC_OPENED; - relay_machine->target_hopnum = 2;
/* This is a relay-side machine */ relay_machine->is_origin_side = 0;
tor-commits@lists.torproject.org