On Fri, Jun 24, 2022 at 10:38:01AM +0200, Antonio Quartulli wrote: > From: Arne Schwabe <[email protected]> > > 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 <[email protected]> > Signed-off-by: Antonio Quartulli <[email protected]> > --- > 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 <[email protected]> Regards, -- Frank Lichtenheld _______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
