corrected typos in IPV6 env variable

This commit is contained in:
Nikos Mavrogiannopoulos
2015-05-10 18:03:25 +02:00
committed by Nikos Mavrogiannopoulos
parent 519ce111a5
commit 45d380ccd9
3 changed files with 3 additions and 3 deletions

View File

@@ -312,7 +312,7 @@ rekey-method = ssl
# DEVICE, IP_REAL (the real IP of the client), IP_LOCAL (the local IP
# in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
# IPV6_LOCAL (the IPv6 local address if there are both IPv4 and IPv6
# assigned), IPV6_REMOVE (the IPv6 remote address), and
# assigned), IPV6_REMOTE (the IPv6 remote address), IPV6_PREFIX, and
# ID (a unique numeric ID); REASON may be "connect" or "disconnect".
# The disconnect script will receive the additional values: STATS_BYTES_IN,

View File

@@ -112,7 +112,7 @@ const char* script;
}
if (remote[0] == 0)
setenv("IP_REMOTE", remote, 1);
setenv("IP_REMOTE", remote, 1);
setenv("IPV6_REMOTE", remote, 1);
}
}

View File

@@ -389,7 +389,7 @@ rekey-method = ssl
# DEVICE, IP_REAL (the real IP of the client), IP_LOCAL (the local IP
# in the P-t-P connection), IP_REMOTE (the VPN IP of the client),
# IPV6_LOCAL (the IPv6 local address if there are both IPv4 and IPv6
# assigned), IPV6_REMOVE (the IPv6 remote address), and
# assigned), IPV6_REMOTE (the IPv6 remote address), IPV6_PREFIX, and
# ID (a unique numeric ID); REASON may be "connect" or "disconnect".
# The disconnect script will receive the additional values: STATS_BYTES_IN,