]> git.ipfire.org Git - thirdparty/openvpn.git/commit
dco: don't pass VPN IPs to NEW_PEER API in P2P mode
authorAntonio Quartulli <a@unstable.cc>
Mon, 15 Aug 2022 22:39:41 +0000 (00:39 +0200)
committerGert Doering <gert@greenie.muc.de>
Wed, 17 Aug 2022 15:16:17 +0000 (17:16 +0200)
commitda758e6d7f4298d835ceadd60e60309acc032ee7
tree6d9c17b75d6b3a15bf74d61625cf9029fee5b247
parent8a7d0005860d2227c8d0e63ee73131e8188b7c18
dco: don't pass VPN IPs to NEW_PEER API in P2P mode

When adding a peer to a P2P interface, the VPN IPs are not really used by
DCO as there is no routing happening in this mode.

For this reason don't pass any VPN IP when adding a new peer in p2p mode.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220815223941.26839-1-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24940.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/dco.c