From 13bdd914dcf58dfd6565415884d03b6d8a69b6d5 Mon Sep 17 00:00:00 2001
From: Bob Lantz <rlantz@cs.stanford.edu>
Date: Wed, 16 Oct 2013 19:17:17 -0700
Subject: [PATCH] Pass rename correctly in moveSwitch()

---
 examples/mobility.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/mobility.py b/examples/mobility.py
index 29ddf9c0..18abae25 100755
--- a/examples/mobility.py
+++ b/examples/mobility.py
@@ -96,7 +96,7 @@ def moveIntf( self, intf, switch, port=None, rename=True ):
         "Move one of our interfaces to another switch"
         self.detach( intf )
         self.delIntf( intf )
-        switch.addIntf( intf, port=port, rename=True )
+        switch.addIntf( intf, port=port, rename=rename )
         switch.attach( intf )
 
 
-- 
GitLab