[tor-bugs] #24906 [Core Tor/Tor]: Make channelpadding_update_padding_for_channel() use !channel_is_client()
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Jan 16 04:33:18 UTC 2018
#24906: Make channelpadding_update_padding_for_channel() use !channel_is_client()
-------------------------------------------------+-------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone: Tor:
| 0.3.4.x-final
Component: Core Tor/Tor | Version: Tor:
| 0.3.1.1-alpha
Severity: Normal | Resolution:
Keywords: refactor, redundant, technical-debt | Actual Points:
Parent ID: #23423 | Points: 0.5
Reviewer: | Sponsor:
-------------------------------------------------+-------------------------
Comment (by arma):
Agreed. How's this for logic:
{{{
if (!server_mode(get_options()) ||
(get_options()->BridgeRelay && !channel_is_client(chan))) {
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24906#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list