[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [exonerator/master] Include exit policy summaries.
commit 125701831fb7437a30f6d91a4b783ff7cafca34c
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date: Mon Jul 13 14:58:56 2015 +0200
Include exit policy summaries.
Implements the rest of #15002.
---
src/org/torproject/exonerator/ExoneraTorServlet.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/org/torproject/exonerator/ExoneraTorServlet.java b/src/org/torproject/exonerator/ExoneraTorServlet.java
index daa9328..d12f2c3 100644
--- a/src/org/torproject/exonerator/ExoneraTorServlet.java
+++ b/src/org/torproject/exonerator/ExoneraTorServlet.java
@@ -434,6 +434,8 @@ public class ExoneraTorServlet extends HttpServlet {
line.lastIndexOf(":"));
String port = line.substring(line.lastIndexOf(":"));
html.append("a <b>" + address + "</b>" + port + "\n");
+ } else if (line.startsWith("p ")) {
+ html.append(line + "\n");
}
}
if (exitaddress != null && exitaddress.length() > 0) {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits