[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [atlas/master] Avoid setting badexit model attribute to false when true
commit 0adeedc475716f82febb6fa6945d53384748c120
Author: Arturo Filastò <hellais@xxxxxxxxx>
Date: Tue Apr 3 14:16:51 2012 -0700
Avoid setting badexit model attribute to false when true
---
js/models/relay.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/js/models/relay.js b/js/models/relay.js
index 21eb6c2..0147fbe 100644
--- a/js/models/relay.js
+++ b/js/models/relay.js
@@ -19,8 +19,6 @@ define([
if (flag == "BadExit") {
model.set({badexit: true});
output.push([flag, "denied_"+size[0]]);
- } else {
- model.set({badexit: false});
}
if (flag == "Fast") {
output.push([flag,"bolt_"+size[0]]);
@@ -143,6 +141,7 @@ define([
relay.countryname = CountryCodes[relay.country];
relay.uptime = model.parsedate(relay.last_restarted);
relay.uptime_hr = relay.uptime.hr;
+ relay.badexit = false;
//console.log(relay.uptime.hrfull);
relay.uptime_hrfull = relay.uptime.hrfull;
relay.uptime = relay.uptime.millisecs;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits