From 2708cadd4031296a9e7319be4de90d22e0b796e7 Mon Sep 17 00:00:00 2001
From: Bob Lantz <rlantz@cs.stanford.edu>
Date: Tue, 15 Dec 2009 17:31:36 -0800
Subject: [PATCH] Fixed LinearNet to pass correct parametersto
 GridNet.__init__()

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

diff --git a/mininet.py b/mininet.py
index 81470846..eb34ef6f 100755
--- a/mininet.py
+++ b/mininet.py
@@ -632,7 +632,7 @@ def makeNet( self, controller ):
 class LinearNet( GridNet ):
    def __init__( self, switchCount, kernel=True ):
       self.switchCount = switchCount
-      GridNet.__init__( self, switchCount, 1, kernel, linear=True )
+      GridNet.__init__( self, switchCount, 1, linear=True )
       
 # Tests
 
-- 
GitLab