[or-cvs] r23403: {arm} fix: parsing error for lsof connection resolutions (arm/trunk/src/util)
Damian Johnson
atagar1 at gmail.com
Tue Oct 5 06:08:11 UTC 2010
Author: atagar
Date: 2010-10-05 06:08:10 +0000 (Tue, 05 Oct 2010)
New Revision: 23403
Modified:
arm/trunk/src/util/connections.py
Log:
fix: parsing error for lsof connection resolutions
Modified: arm/trunk/src/util/connections.py
===================================================================
--- arm/trunk/src/util/connections.py 2010-10-04 19:28:31 UTC (rev 23402)
+++ arm/trunk/src/util/connections.py 2010-10-05 06:08:10 UTC (rev 23403)
@@ -94,7 +94,7 @@
localIp, localPort = comp[3].split(":")
foreignIp, foreignPort = comp[4].split(":")
else:
- local, foreign = comp[7].split("->")
+ local, foreign = comp[8].split("->")
localIp, localPort = local.split(":")
foreignIp, foreignPort = foreign.split(":")
More information about the tor-commits
mailing list