]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Rework occ link-mtu calculation
authorArne Schwabe <arne@rfc2549.org>
Thu, 30 Dec 2021 17:21:36 +0000 (18:21 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 31 Dec 2021 11:08:35 +0000 (12:08 +0100)
commit01b7cd44669896d91696e936cc38a2f57bc6081e
treee5590dd6fc8a97c18ccbe063b1ad98c62265881d
parentd4458eed0c3cf582f787893f033a19cb4629cd76
Rework occ link-mtu calculation

Use the functions that directly compute the link mtu instead relying on the
frame logic.

Patch V2: rebase on master

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20211230172136.2017215-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/search?l=mid&q=20211230172136.2017215-1-arne@rfc2549.org
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mtu.c
src/openvpn/mtu.h
src/openvpn/options.c
tests/unit_tests/openvpn/Makefile.am
tests/unit_tests/openvpn/test_crypto.c