This is just basic refactoring, making future work on special-case hacks like "--dev null" or "af_unix" more streamlined. No functional change expected or seen.
The change to tun.c looks huge but is mostly re-indenting after getting rid of the DEV_TYPE_NULL condition (-> git show -w) in open_tun_generic(), and also moving the check from all the open_tun() to open_tun_backend(). As with the previous patch, unwrapped the "offload". Your patch has been applied to the master branch. commit 8fe14fea935d6c2591649353eb7daf4977585b03 Author: Arne Schwabe Date: Tue Sep 24 14:43:28 2024 +0200 Change dev null to be a driver type instead of a special mode of tun/tap Signed-off-by: Arne Schwabe <a...@rfc2549.org> Acked-by: Gert Doering <g...@greenie.muc.de> Message-Id: <20240924124328.3037-1-g...@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29384.html Signed-off-by: Gert Doering <g...@greenie.muc.de> -- kind regards, Gert Doering _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel