Doesn't apply to master anymore, please rebase.

On Sonntag, 26. Juni 2022 01:41:47 CEST Arne Schwabe wrote:
> --- a/doc/man-sections/vpn-network-options.rst
> +++ b/doc/man-sections/vpn-network-options.rst
> @@ -516,6 +516,11 @@ routing.
>    It's best to use the ``--fragment`` and/or ``--mssfix`` options to deal
>    with MTU sizing issues.
> 
> +--tun-max-mtu maxmtu

--tun-mtu-max

> +            if (c->options.ce.tun_mtu > frame->tun_max_mtu)
> +            {
> +                msg(D_PUSH_ERRORS, "Server pushed a large mtu, please add "
> +                    "tun-mtu-max %d in the client configuration", +

"a too large MTU, to accept it add" would describe it better

> @@ -222,6 +222,7 @@ frame_print(const struct frame *frame,
>      buf_printf(&out, " max_frag:%d", frame->max_fragment_size);
>  #endif
>      buf_printf(&out, " tun_mtu:%d", frame->tun_mtu);
> +    buf_printf(&out, " tun_max_mtu:%d", frame->tun_max_mtu);

should be printed as "tun_mtu_max" to be consistent with the option. Maybe it 
Should even make sense to rename the frame element to match the option name as 
they are closely related.






_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to