diff --git a/mininet.py b/mininet.py
index 30c57c7c9616bd046491f0e9fe64b79d9647002c..bba518ea3f2f2ec279add8af902bb57d98b919d9 100755
--- a/mininet.py
+++ b/mininet.py
@@ -199,7 +199,7 @@ def newIntf( self ):
       return intfName
    def setIP( self, intf, ip, bits ):
       "Set an interface's IP address."
-      result = self.cmdPrint( [ 'ifconfig', intf, ip + bits, 'up' ] )
+      result = self.cmd( [ 'ifconfig', intf, ip + bits, 'up' ] )
       self.ips[ intf ] = ip
       return result
    def setHostRoute( self, ip, intf ):