On Fri, Jun 24, 2022 at 10:38:01AM +0200, Antonio Quartulli wrote: > From: Arne Schwabe <a...@rfc2549.org> > > This moves closing the tun handle into its own function and also prints > the adapter type we are operating on, instead hardcoding it to > tap-windows. > > While at it, set the handle to NULL after closing, to prevent a double > close due to multiple invocations of this helper. > > Signed-off-by: Arne Schwabe <a...@rfc2549.org> > Signed-off-by: Antonio Quartulli <a...@unstable.cc> > --- > src/openvpn/tun.c | 76 ++++++++++++++++++++++++++--------------------- > 1 file changed, 42 insertions(+), 34 deletions(-)
Trivial enough. Also can be applied independently of all changes before it in the series! Acked-By: Frank Lichtenheld <fr...@lichtenheld.com> Regards, -- Frank Lichtenheld _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel