]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Warn if push is used without --mode server/--server/--server-bridge
authorArne Schwabe <arne@rfc2549.org>
Thu, 23 Oct 2025 15:56:08 +0000 (17:56 +0200)
committerGert Doering <gert@greenie.muc.de>
Tue, 28 Oct 2025 17:36:25 +0000 (18:36 +0100)
commitd6a0cf599c68edc672c67c6afa4bdff0e1a30b8a
tree175cb2281516476093e0d8739d104e23696208c4
parentc0d96fd8732bd903ab390bb5047a13880cdcac9b
Warn if push is used without --mode server/--server/--server-bridge

This is not a supported configuration and will often work good enough
to get a connection working but will operate more in a weird pre P2P
negotiation compatibility way rather than actually negotiating
protocol features.

While at it, remove an unused macro (PUSH_DEFINED).

Change-Id: I82c7c61be07593ecd5bf2f854767dda74ab5170c
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1288
Message-Id: <20251023155614.20642-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg33856.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/server-options.rst
src/openvpn/options.c
src/openvpn/options.h