]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Change proto_remote() function to return a constant string
authorArne Schwabe <arne@rfc2549.org>
Mon, 25 Nov 2013 12:31:13 +0000 (13:31 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 26 Nov 2013 14:34:59 +0000 (15:34 +0100)
commit34136dd8533510f68a012ba9e6bcd8cf5d1ce80e
treee70ad2c3e9238cc4021f6475ded4316d0eabbdf4
parent48f1d41a80b1f2aa9e47b38f645dc880bd7090a4
Change proto_remote() function to return a constant string

Instead of using the implicit protocol string that is returned by the
proto/af to names function return a constant string. The strings have
become part of the wire protocl and we do not want them to change if
the printing of proto/af changes.

Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1385382680-5912-2-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/8055

Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/options.c
src/openvpn/socket.c
src/openvpn/socket.h