diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2010-02-03 23:54:18 +0100 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2010-02-04 00:06:56 +0100 |
commit | 25ec240cc344adc1ca0a5e10179d7e47d8af9532 (patch) | |
tree | 9f74943984800a01ba9d15286ac5e75f15adc7d7 /ReleaseNotes | |
parent | 82a5fbafab956de6fffc3c583a874830157d906d (diff) | |
download | tor-25ec240cc344adc1ca0a5e10179d7e47d8af9532.tar.gz tor-25ec240cc344adc1ca0a5e10179d7e47d8af9532.zip |
Call exit_policy_is_general_exit less
When calculating the is_exit flag for a routerinfo_t, we don't need
to call exit_policy_is_general_exit() if router_exit_policy_rejects_all()
tells us it definitely is an exit. This check is much cheaper than
running exit_policy_is_general_exit().
Diffstat (limited to 'ReleaseNotes')
0 files changed, 0 insertions, 0 deletions