diff --git a/examples/mobility.py b/examples/mobility.py
index 29ddf9c00212120c2806507bb4858ec263433d6b..18abae2567326d407950b439cebeae860461e7f8 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 )