]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commit
wg-quick: linux: use smallest mtu, not largest
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 21 May 2025 21:03:08 +0000 (23:03 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 21 May 2025 21:07:59 +0000 (23:07 +0200)
commit5150cd647073be1f1c12688aef291bdf17970154
tree9b843e6603ad4dc10a128b90c2be640bfda03a71
parente2ecaaa739144997ccff89d6ad6ec81698ea6ced
wg-quick: linux: use smallest mtu, not largest

By accident, this function was looking at the endpoint with the largest
MTU rather than the smallest one.

Reported-by: Ismael Bouya <ismael@bouya.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/wg-quick/linux.bash