Hi,
On 24/05/2022 11:19, Lev Stipakov wrote:
From: Lev Stipakov <l...@openvpn.net>
There are two flags to indicate peer-id usage, one is
in tls_multi struct and another one is in options.
For P2P mode we don't set this flag in options,
which is used in MTU calculation. As a result,
automatically calculated MSS value in P2P mode is wrong,
Fix by bring use_peer_id flag in options and tls_multi
into sync for P2P.
Signed-off-by: Lev Stipakov <l...@openvpn.net>
Does what it says and creates no side effect.
(It's easy to check where o->use_peer_id is used)
Moreover, this patch is needed to ensure the p2p case in dco works as
expected.
Acked-by: Antonio Quartulli <a...@unstable.cc>
--
Antonio Quartulli
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel