Fix OVS breakage
This commit is contained in:
committed by
Bob Lantz
parent
77529ce550
commit
44c63c2abd
+1
-1
@@ -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 ] )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user