Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Network Health
Metrics
Onionoo
Commits
708946d2
Commit
708946d2
authored
Nov 17, 2017
by
Karsten Loesing
Browse files
Add "unreachable_or_addresses" to "fields" parameter.
parent
022c89b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
708946d2
# Changes in version 4.3-1.7.1 - 2017-11-17
*
Minor changes
-
Include "unreachable_or_addresses" as accepted value in the
"fields" parameter.
# Changes in version 4.3-1.7.0 - 2017-11-17
*
Medium changes
...
...
src/main/java/org/torproject/onionoo/server/ResponseBuilder.java
View file @
708946d2
...
...
@@ -339,6 +339,9 @@ public class ResponseBuilder {
dd
.
setAllegedFamily
(
detailsDocument
.
getAllegedFamily
());
}
else
if
(
field
.
equals
(
"indirect_family"
))
{
dd
.
setIndirectFamily
(
detailsDocument
.
getIndirectFamily
());
}
else
if
(
field
.
equals
(
"unreachable_or_addresses"
))
{
dd
.
setUnreachableOrAddresses
(
detailsDocument
.
getUnreachableOrAddresses
());
}
}
/* Don't escape HTML characters, like < and >, contained in
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment