Revision b0a7a257

View differences:

mininet/node.py
460 460
        quietRun( 'ovs-dpctl del-dp dp%i' % self.dp )
461 461
        self.cmd( 'ovs-dpctl add-dp dp%i' % self.dp )
462 462
        if self.defaultMAC:
463
            intf = 'dp' % self.dp
463
            intf = 'dp%i' % self.dp
464 464
            mac = self.defaultMAC
465 465
            self.cmd( [ 'ifconfig', intf, 'hw', 'ether', mac ] )
466 466

  

Also available in: Unified diff