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>