This looks much larger and more complex than it is, but that's because
clang-format likes to have defines all neat and tidy, and if you remove
the *longest* definition, everything else needs to be reformatted (*sigh*).
"git show -w" shows that the errlevel.h change is really just
"-#define D_PACKET_TRUNC_ERR" and "-#define D_PACKET_TRUNC_DEBUG"...
All the rest is "remove code that is inside #ifdef PACKET_TRUNCATION_CHECK",
so easy to review (or not). The code was not used in the last 15-ish
years or so, didn't do IPv6, and would have needed an overhaul... but
the reason it existed in the first place was also lost. Bye ;-)
Your patch has been applied to the master branch.
commit 91bff1b6be151c20e9db180b791b7ccb2765ce95
Author: Arne Schwabe
Date: Sat Oct 31 20:08:34 2026 +0100
Remove PACKET_TRUNCATION_CHECK
Signed-off-by: Arne Schwabe <[email protected]>
Acked-by: Razvan Cojocaru <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2071
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg40382.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel