commit 6532c27d64e77433783478202a3c292e5aec719a
Author: Karsten Loesing <karsten.loesing(a)gmx.net>
Date: Tue Mar 29 10:55:55 2016 +0200
Add snowflake to list of transports.
---
website/src/org/torproject/metrics/web/GraphServlet.java | 1 +
.../src/org/torproject/metrics/web/graphs/GraphParameterChecker.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/website/src/org/torproject/metrics/web/GraphServlet.java b/website/src/org/torproject/metrics/web/GraphServlet.java
index 72f7f72..05139ed 100644
--- a/website/src/org/torproject/metrics/web/GraphServlet.java
+++ b/website/src/org/torproject/metrics/web/GraphServlet.java
@@ -98,6 +98,7 @@ public class GraphServlet extends MetricServlet {
{ "fte", "", "FTE" },
{ "meek", "", "meek" },
{ "scramblesuit", "", "scramblesuit" },
+ { "snowflake", "", "snowflake" },
{ "<??>", "", "Unknown pluggable transport(s)" },
{ "<OR>", "", "Default OR protocol" } });
this.defaultParameters.put("version", new String[][] {
diff --git a/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java b/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java
index 58fd064..5067789 100644
--- a/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java
+++ b/website/src/org/torproject/metrics/web/graphs/GraphParameterChecker.java
@@ -66,7 +66,7 @@ public class GraphParameterChecker {
this.knownParameterValues.put("source", "all,siv,moria,torperf");
this.knownParameterValues.put("filesize", "50kb,1mb,5mb");
this.knownParameterValues.put("transport", "obfs2,obfs3,obfs4,"
- + "websocket,fte,meek,scramblesuit,<OR>,<??>,!<OR>");
+ + "websocket,fte,meek,scramblesuit,snowflake,<OR>,<??>,!<OR>");
this.knownParameterValues.put("version", "v4,v6");
this.knownParameterValues.put("p", "100,99,98,97,95,91,90,80,75,70,"
+ "60,50,40,30,25,20,10,9,5,3,2,1,0");