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() to be "static"
> (only ever called from within tun.c).
> 
> Tested on FreeBSD 7.4, FreeBSD 9.0, NetBSD 5.1, OpenBSD 4.9
> 
> Signed-off-by: Gert Doering <[email protected]>
> Acked-by: Eric Crist <[email protected]>
> ---
>  src/openvpn/tun.c |   22 +++++++++++++++++-----
>  src/openvpn/tun.h |    4 +++-
>  2 files changed, 20 insertions(+), 6 deletions(-)

Applied to master.

commit 3630a7a50099874d55bf8e212ad4a97d6e70966f
Author: Gert Doering <[email protected]>
List-Post: [email protected]
Date:   Thu Aug 16 20:09:09 2012 +0200

    Keep pre-existing tun/tap devices around on *BSD
        
    Signed-off-by: Gert Doering <[email protected]>
    Acked-by: Eric Crist <[email protected]>
    Signed-off-by: David Sommerseth <[email protected]>


kind regards,

David Sommerseth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to