Fix OVS breakage

This commit is contained in:
Brandon Heller
2010-03-12 16:13:09 -08:00
committed by Bob Lantz
parent 77529ce550
commit 44c63c2abd
+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 ] )