[tor-commits] [onionoo/master] Fix running bits in summary document.
karsten at torproject.org
karsten at torproject.org
Fri Jun 15 10:28:07 UTC 2012
commit d4dc4051d34a045289d350138aa3dbee5542fb5d
Author: Karsten Loesing <karsten.loesing at 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"));
More information about the tor-commits
mailing list