Thanks for bearing with me :-) - I'm not happy with all the changes, but
we do want to avoid needless casts, and eventually build with -Wall -Werror,
so I understand there's no other way...

Lightly tested by running an instance with --mssfix 200 and looking 
with tcpdump at the resulting SYNs (mss 133 for IPv4, mss 113 for IPv6,
with AES-256-GCM, not doing the math for you today).

Your patch has been applied to the master branch.

commit 613f4a7c9fda4dd6f0063caefab6c03d4a628667
Author: Frank Lichtenheld
Date:   Mon Oct 9 12:51:51 2023 +0200

     Change type of frame.mss_fix to uint16_t

     Signed-off-by: Frank Lichtenheld <fr...@lichtenheld.com>
     Acked-by: Arne Schwabe <arne-open...@rfc2549.org>
     Message-Id: <20231009105151.34074-1-fr...@lichtenheld.com>
     URL: 
https://www.mail-archive.com/search?l=mid&q=20231009105151.34074-1-fr...@lichtenheld.com
     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

Reply via email to