On 29 Aug 2022, at 21:01, Gert Doering wrote: > On Linux, tun devices are created according to the following algorithm > --dev tun -> try tun0, tun1, ... tun255, use first free > --dev anything -> create a TUN device named "anything" > (as long as "anything" is not "null" or "tap[N]") > > DCO was following the "other platform convention", where everything > not having a digit was iterated ("--dev tun-home" -> "tun-home0") - > which does not work for classic tun/tap devices on the BSDs anyway, > so is not the best model. > > Adjust open_tun_dco_generic() to document expected behaviour and > do the thing. > > Signed-off-by: Gert Doering <g...@greenie.muc.de> Acked-by: Kristof Provost <kprov...@netgate.com>
Kristof _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel