]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix check_addr_clash argument order
authorRalf Lici <ralf@mandelbit.com>
Tue, 17 Sep 2024 09:14:33 +0000 (11:14 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 17 Sep 2024 09:39:35 +0000 (11:39 +0200)
commit7e6723aa7096bee80eb42a473fbfde7de4362b0f
treeae51a49d47194574cd3ddd4584fb6d8558069353
parentf9ab7edbebd6dfb3fd384b56626aabb3171ac0ad
Fix check_addr_clash argument order

In init_tun() make sure to pass the --local and --remote addresses in
the host order so that they can be compared to the --ifconfig addresses.

Change-Id: I5adbe0a79f078221c4bb5f3d39391a81b4d8adce
Signed-off-by: Ralf Lici <ralf@mandelbit.com>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240917091433.24092-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg29261.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 7d345b19e20f30cb2ecbea71682b5a41e6cff454)
src/openvpn/tun.c