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 <g...@greenie.muc.de>
> Acked-by: Eric Crist <ecr...@secure-computing.net>
> ---
>  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 <g...@greenie.muc.de>
List-Post: openvpn-devel@lists.sourceforge.net
Date:   Thu Aug 16 20:09:09 2012 +0200

    Keep pre-existing tun/tap devices around on *BSD
        
    Signed-off-by: Gert Doering <g...@greenie.muc.de>
    Acked-by: Eric Crist <ecr...@secure-computing.net>
    Signed-off-by: David Sommerseth <dav...@redhat.com>


kind regards,

David Sommerseth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to