diff options
author | David Goulet <dgoulet@torproject.org> | 2023-09-12 10:28:42 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2023-09-12 10:28:42 -0400 |
commit | 2cecf046bbbb4bfef045c7233966e2f429c32145 (patch) | |
tree | 560fbd21dcce863dbc5ea45c7f1578992234d4ff /src/feature | |
parent | 449f988c8f5e610b2a030a0c2577afd4bb74dc4a (diff) | |
parent | d6c89b1ae1b18cc3cae42638d7bbe1edd7e35715 (diff) | |
download | tor-2cecf046bbbb4bfef045c7233966e2f429c32145.tar.gz tor-2cecf046bbbb4bfef045c7233966e2f429c32145.zip |
Merge branch 'maint-0.4.8'
Diffstat (limited to 'src/feature')
-rw-r--r-- | src/feature/nodelist/networkstatus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/feature/nodelist/networkstatus.c b/src/feature/nodelist/networkstatus.c index f14034c2b7..61eef5bfa5 100644 --- a/src/feature/nodelist/networkstatus.c +++ b/src/feature/nodelist/networkstatus.c @@ -2451,7 +2451,9 @@ networkstatus_getinfo_by_purpose(const char *purpose_string, time_t now) if (ri->purpose != purpose) continue; set_routerstatus_from_routerinfo(&rs, node, ri); - smartlist_add(statuses, networkstatus_getinfo_helper_single(&rs)); + char *text = routerstatus_format_entry( + &rs, NULL, NULL, NS_CONTROL_PORT, NULL, ri->cache_info.published_on); + smartlist_add(statuses, text); } SMARTLIST_FOREACH_END(ri); answer = smartlist_join_strings(statuses, "", 0, NULL); |