diff --git a/mininet/node.py b/mininet/node.py index 31857463cc7816a68f23f728d19e07306ff37ae9..951b870232f6ca2659cc360e70d8855c1ec92638 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -1050,6 +1050,8 @@ def start( self, controllers ): def stop( self ): "Terminate OVS switch." self.cmd( 'ovs-vsctl del-br', self ) + if self.datapath == 'user': + self.cmd( 'ip link del', self ) self.deleteIntfs() OVSKernelSwitch = OVSSwitch