summaryrefslogtreecommitdiffstats
path: root/src/openvpn/ssl.c
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2014-01-09 20:46:41 +0100
committerGert Doering <gert@greenie.muc.de>2014-01-09 20:59:44 +0100
commitc1b35689964f6910c1ea239618d42ee5e552c405 (patch)
treecfe5e7045d9478152871ea27adcc04ea4468278d /src/openvpn/ssl.c
parent945cfa53cde35340da830f35fb0ae18f15b92862 (diff)
downloadopenvpn-c1b35689964f6910c1ea239618d42ee5e552c405.tar.gz
openvpn-c1b35689964f6910c1ea239618d42ee5e552c405.tar.xz
openvpn-c1b35689964f6910c1ea239618d42ee5e552c405.zip
Reduce IV_OPENVPN_GUI_VERSION= to IV_GUI_VER=
Use shorter variable name to signal the same thing (see f3a2cd255a3bc73) to save space in the buffer used by the collective IV_ info sent to server. Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Arne Schwabe <arne@rfc2549.org> Message-Id: <1389296891-1487-1-git-send-email-gert@greenie.muc.de> URL: http://article.gmane.org/gmane.network.openvpn.devel/8183 (cherry picked from commit 7efaca734b8d633441ec3d7def2a2768864dedcf)
Diffstat (limited to 'src/openvpn/ssl.c')
-rw-r--r--src/openvpn/ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c
index 39c58f4..2c883fa 100644
--- a/src/openvpn/ssl.c
+++ b/src/openvpn/ssl.c
@@ -1825,13 +1825,13 @@ push_peer_info(struct buffer *buf, struct tls_session *session)
buf_printf (&out, "IV_HWADDR=%s\n", format_hex_ex (rgi.hwaddr, 6, 0, 1, ":", &gc));
}
- /* push env vars that begin with UV_ and IV_OPENVPN_GUI_VERSION */
+ /* push env vars that begin with UV_ and IV_GUI_VER */
for (e=es->list; e != NULL; e=e->next)
{
if (e->string)
{
if (((strncmp(e->string, "UV_", 3)==0 && session->opt->push_peer_info_detail >= 2)
- || (strncmp(e->string,"IV_OPENVPN_GUI_VERSION=",sizeof("IV_OPENVPN_GUI_VERSION=")-1)==0))
+ || (strncmp(e->string,"IV_GUI_VER=",sizeof("IV_GUI_VER=")-1)==0))
&& buf_safe(&out, strlen(e->string)+1))
buf_printf (&out, "%s\n", e->string);
}