perfsonar-dev - perfsonar: r3537 - trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools
Subject: perfsonar development work
List archive
perfsonar: r3537 - trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools
Chronological Thread
- From:
- To:
- Subject: perfsonar: r3537 - trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools
- Date: Wed, 19 Mar 2008 08:31:45 -0400
Author: fernandes
Date: 2008-03-19 08:31:43 -0400 (Wed, 19 Mar 2008)
New Revision: 3537
Modified:
trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools/Traceroute.java
Log:
Bug Fix: New bug for traceroute on RedHat that was introduced with the 376
bug fix made in RC3.
Modified:
trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools/Traceroute.java
===================================================================
---
trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools/Traceroute.java
2008-03-19 12:20:53 UTC (rev 3536)
+++
trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools/Traceroute.java
2008-03-19 12:31:43 UTC (rev 3537)
@@ -289,8 +289,15 @@
}
while( (line = br.readLine()) != null){
- if(line.startsWith("traceroute to"))
- continue;
+ if(line.startsWith("traceroute to")){
+ matcher = hopMaxPattern.matcher(line);
+ if (matcher.matches()) {
+ hopMax =
matcher.group(1);
+ numBytes =
matcher.group(2);
+ numBytesUnits = matcher.group(3);
+ }
+ continue;
+ }
matcher = datumPattern.matcher(line);
- perfsonar: r3537 - trunk/rnp_java-cl-mp/src/main/java/org/perfsonar/service/measurementPoint/commandLine/tools, svnlog, 03/19/2008
Archive powered by MHonArc 2.6.16.