Re: interface destroy
From: Brooks Davis (brooks_at_one-eyed-alien.net)
Date: 08/18/03
- Previous message: FreeBSD bugmaster: "Current problem reports assigned to you"
- In reply to: Vlad Galu: "interface destroy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 18 Aug 2003 14:50:39 -0700 To: Vlad Galu <Vlad.Galu@rdsnet.ro>
On Mon, Aug 18, 2003 at 08:15:12AM -0700, Vlad Galu wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>
> Hello. I have a tun interface used by an userspace daemon
> (namely openvpn). Is there a way of destroying it upon openvpn
> shutdown ? ifconfig tun0 destroy returns this :
>
> ifconfig: SIOCIFDESTROY: Invalid argument Does this mean that
> the ifreq structure passed as argument to the SIOCIFDESTROY is empty?
No, this means that ifconfig's destory argument doesn't work with tun
interfaces. The tun interface needs to be convered to use the
pseudo-interface cloning infrastructure, but so far, it hasn't happened.
I've taken a look at it a a few times, but the current auto creation
code is really incompatable with the way cloning works which makes it
problematic.
-- Brooks
- application/pgp-signature attachment: stored
- Previous message: FreeBSD bugmaster: "Current problem reports assigned to you"
- In reply to: Vlad Galu: "interface destroy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]