[tor-commits] [metrics-web/master] Fix HTML in metrics-lib tutorial results.

karsten at torproject.org karsten at torproject.org
Tue Jun 27 13:28:14 UTC 2017


commit 4dbdb7c6fd5bfb50d3fa8286abb0b73cf50cc5f0
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Jun 27 15:26:34 2017 +0200

    Fix HTML in metrics-lib tutorial results.
---
 website/src/main/resources/web/WEB-INF/metrics-lib.jsp | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/website/src/main/resources/web/WEB-INF/metrics-lib.jsp b/website/src/main/resources/web/WEB-INF/metrics-lib.jsp
index 7d17734..e74f977 100644
--- a/website/src/main/resources/web/WEB-INF/metrics-lib.jsp
+++ b/website/src/main/resources/web/WEB-INF/metrics-lib.jsp
@@ -279,15 +279,15 @@ java -cp .:lib/\*:generated/dist/signed/\* PluggableTransports
 <p>The output should contain lines like the following:</p>
 
 <pre>
-                 fte ->  2.3%
-                meek ->  0.2%
-               obfs2 ->  0.7%
-               obfs3 -> 20.8%
-     obfs3_websocket ->  0.0%
-               obfs4 -> 77.0%
-        scramblesuit -> 17.3%
-           snowflake ->  0.1%
-           websocket ->  0.7%
+                 fte ->  2.3%
+                meek ->  0.2%
+               obfs2 ->  0.7%
+               obfs3 -> 20.8%
+     obfs3_websocket ->  0.0%
+               obfs4 -> 77.0%
+        scramblesuit -> 17.3%
+           snowflake ->  0.1%
+           websocket ->  0.7%
 </pre>
 
 <p>As above, we'll leave it up to you to further expand this code.  For example, how does the result change if you count transport <i>combinations</i> rather than transports?  Hint: you won't need anything else from metrics-lib, but you'll need to add some code to order transport names and write them to a string.  (And if you'd rather look up the solution, scroll down a bit to see the diff.)</p>



More information about the tor-commits mailing list