Fix OVS breakage

This commit is contained in:
Brandon Heller
2010-03-10 15:44:00 -08:00
parent 4e57ddbce1
commit b0a7a2579a
+1 -1
View File
@@ -460,7 +460,7 @@ class OVSKernelSwitch( Switch ):
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 ] )