Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2009 12:27:05 -0700
From:      Asheesh Jadav <ajadav@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Deleting a TAP interface
Message-ID:  <b247bbf20905201227p242f2906n8db790aa377b6a44@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

  I'm able to create the TAP interface, lets say with name 'test', and bring
it up, but when I try deleting it using

ioctl(fd, TUNSETPERSIST, 0)

 I can see that on my system I still have an interafce with name eth0 (the
original name was test). How can I completely delete the interface that I
created and restore the system to the state it was before I created the TAP
interface?

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b247bbf20905201227p242f2906n8db790aa377b6a44>