From dba3b59929a4fc2bd2eb30343361f80a06cc0d29 Mon Sep 17 00:00:00 2001
From: Bob Lantz <rlantz@cs.stanford.edu>
Date: Sat, 27 Feb 2010 13:54:38 -0800
Subject: [PATCH] Changed to dump bad iperf output.

---
 mininet/net.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mininet/net.py b/mininet/net.py
index 78bbb213..5666442e 100755
--- a/mininet/net.py
+++ b/mininet/net.py
@@ -465,7 +465,7 @@ def _parseIperf( iperfOutput ):
         if m:
             return m.group( 1 )
         else:
-            raise Exception( 'could not parse iperf output' )
+            raise Exception( 'could not parse iperf output: ' + iperfOutput )
 
     def iperf( self, hosts=None, l4Type='TCP', udpBw='10M',
               verbose=False ):
-- 
GitLab