commit d4dc4051d34a045289d350138aa3dbee5542fb5d Author: Karsten Loesing karsten.loesing@gmx.net Date: Fri Jun 15 12:27:41 2012 +0200
Fix running bits in summary document. --- src/org/torproject/onionoo/ResourceServlet.java | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/org/torproject/onionoo/ResourceServlet.java b/src/org/torproject/onionoo/ResourceServlet.java index 66644d3..7ddd148 100644 --- a/src/org/torproject/onionoo/ResourceServlet.java +++ b/src/org/torproject/onionoo/ResourceServlet.java @@ -59,6 +59,8 @@ public class ResourceServlet extends HttpServlet { if (summaryFile.lastModified() > this.summaryFileLastModified) { CurrentNodes cn = new CurrentNodes(); cn.readRelaySearchDataFile(this.summaryFile); + cn.setRelayRunningBits(); + cn.setBridgeRunningBits(); SimpleDateFormat dateTimeFormat = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ss"); dateTimeFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
tor-commits@lists.torproject.org