From 44c63c2abd0aa0711406aab0f3c3c0562d75088f Mon Sep 17 00:00:00 2001 From: Brandon Heller <brandonh@stanford.edu> Date: Wed, 10 Mar 2010 15:44:00 -0800 Subject: [PATCH] Fix OVS breakage --- mininet/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mininet/node.py b/mininet/node.py index 86a85ea1..718d04da 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -460,7 +460,7 @@ def start( self, controllers ): quietRun( 'ovs-dpctl del-dp dp%i' % self.dp ) self.cmd( 'ovs-dpctl add-dp dp%i' % self.dp ) if self.defaultMAC: - intf = 'dp' % self.dp + intf = 'dp%i' % self.dp mac = self.defaultMAC self.cmd( [ 'ifconfig', intf, 'hw', 'ether', mac ] ) -- GitLab