diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-12-08 11:51:06 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-01-02 10:10:03 -0500 |
commit | b3178134859a70abaa09a2c5546ce54d9f1562dd (patch) | |
tree | bcfb6060ddd384cfbdfcf6b98df5ad38e89d1720 /src/or/entrynodes.h | |
parent | ded98be45cc9f25cce117ccdb8d948adce397221 (diff) | |
download | tor-b3178134859a70abaa09a2c5546ce54d9f1562dd.tar.gz tor-b3178134859a70abaa09a2c5546ce54d9f1562dd.zip |
Make GETINFO entry-guards work again with prop271
This is not a great solution, but it's as close to
backward-compatible as possible. A better GETINFO API should expose
more information.
Diffstat (limited to 'src/or/entrynodes.h')
-rw-r--r-- | src/or/entrynodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/entrynodes.h b/src/or/entrynodes.h index db84d594c2..5fa0fec37f 100644 --- a/src/or/entrynodes.h +++ b/src/or/entrynodes.h @@ -610,7 +610,8 @@ STATIC unsigned entry_guards_note_guard_success(guard_selection_t *gs, entry_guard_t *guard, unsigned old_state); STATIC int entry_guard_has_higher_priority(entry_guard_t *a, entry_guard_t *b); - +STATIC char *getinfo_helper_format_single_entry_guard(const entry_guard_t *e, + int is_legacy); #ifdef ENABLE_LEGACY_GUARD_ALGORITHM // ---------- XXXX this stuff is pre-prop271. |