[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18291: {torflow} Oh, this might also explain some of the slowness pain. (torflow/trunk/NetworkScanners)



Author: mikeperry
Date: 2009-01-28 04:31:15 -0500 (Wed, 28 Jan 2009)
New Revision: 18291

Modified:
   torflow/trunk/NetworkScanners/soat.py
Log:

Oh, this might also explain some of the slowness 
pain.



Modified: torflow/trunk/NetworkScanners/soat.py
===================================================================
--- torflow/trunk/NetworkScanners/soat.py	2009-01-28 09:29:34 UTC (rev 18290)
+++ torflow/trunk/NetworkScanners/soat.py	2009-01-28 09:31:15 UTC (rev 18291)
@@ -1660,7 +1660,7 @@
   def get_nodes_for_port(self, port):
     ''' ask control port for a list of nodes that allow exiting to a given port '''
     routers = self.__control.read_routers(self.__control.get_network_status())
-    restriction = NodeRestrictionList([FlagsRestriction(["Running", "Valid"]), ExitPolicyRestriction('255.255.255.255', port)])
+    restriction = NodeRestrictionList([FlagsRestriction(["Running", "Valid", "Fast"]), ExitPolicyRestriction('255.255.255.255', port)])
     return [x for x in routers if restriction.r_is_ok(x)]
 
   # XXX: Hrmm is this in the right place?