diff --git a/mininet/node.py b/mininet/node.py index 0b67a008c5fda9a9770f8c0161739e3c8f2f73a9..71ac9a0b8f37dc68b74bc3300647ed57ca8143d4 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -1084,7 +1084,7 @@ def dpctl( self, *args ): "Run dpctl command" if not self.listenPort: return "can't run dpctl without passive listening port" - return self.cmd( 'dpctl ' + ' '.join( args ) + + return self.cmd( 'ovs-ofctl ' + ' '.join( args ) + ' tcp:127.0.0.1:%i' % self.listenPort )