Switch to use should_record_bridge_info()

Both in geoip_note_client_seen() and options_need_geoip_info(), switch from
accessing the options directly to using the should_record_bridge_info() helper
function.

Fixes #25290

Signed-off-by: David Goulet <dgoulet@torproject.org>
This commit is contained in:
Neel Chauhan
2018-04-05 08:35:21 -04:00
committed by David Goulet
parent 98157c72cd
commit f5f9c25546
3 changed files with 7 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
o Code simplification and refactoring:
- We switch to should_record_bridge_info() in geoip_note_client_seen() and
options_need_geoip_info() instead of accessing the configuration values
directly. Fixes bug 25290; bugfix on 0.2.1.6-alpha. Patch by Neel
Chauhan.