Re: [Openvpn-devel] [PATCH v11 05/25] dco: introduce open_tun_dco_generic() to open dynamic or fixed-name DCO devices

2022-07-27 Thread Antonio Quartulli
Hi, On 21/07/2022 20:24, Gert Doering wrote: From: Antonio Quartulli This function is similar to the essence of open_tun_generic(), but calling open_tun_dco() instead of trying to do a file open on "/dev/%s" Previous attempts to save code duplication by including this into open_tun_generic()

[Openvpn-devel] [PATCH v11 05/25] dco: introduce open_tun_dco_generic() to open dynamic or fixed-name DCO devices

2022-07-21 Thread Gert Doering
From: Antonio Quartulli This function is similar to the essence of open_tun_generic(), but calling open_tun_dco() instead of trying to do a file open on "/dev/%s" Previous attempts to save code duplication by including this into open_tun_generic() created additional #ifdef plus confusing call