Re: [Openvpn-devel] [PATCH] Keep pre-existing tun/tap devices around on *BSD

2012-09-02 Thread David Sommerseth
On 16/08/12 20:09, Gert Doering wrote: > This amends commit 62c613d46dc49 to check whether a named tun/tap > device ("--dev tunX" instead of "--dev tun") exists before OpenVPN > started - if yes, keep around at program end. If no, destroy. > > Also has a spelling fix, and changes clear_tuntap() t

[Openvpn-devel] [PATCH] Keep pre-existing tun/tap devices around on *BSD

2012-08-16 Thread Gert Doering
This amends commit 62c613d46dc49 to check whether a named tun/tap device ("--dev tunX" instead of "--dev tun") exists before OpenVPN started - if yes, keep around at program end. If no, destroy. Also has a spelling fix, and changes clear_tuntap() to be "static" (only ever called from within tun.c