(Fix check introduced by commit a8be73799be1639, testing with #ifdef
instead of #if - P2MP_SERVER is always defined, and can be "0" or "1")
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1369949680-9499-1-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/7637
Signed-off-by: Gert Doering <gert@greenie.muc.de>
... | ... |
@@ -2043,7 +2043,7 @@ key_method_2_read (struct buffer *buf, struct tls_multi *multi, struct tls_sessi |
2043 | 2043 |
username_status = read_string (buf, up->username, USER_PASS_LEN); |
2044 | 2044 |
password_status = read_string (buf, up->password, USER_PASS_LEN); |
2045 | 2045 |
|
2046 |
-#ifdef P2MP_SERVER |
|
2046 |
+#if P2MP_SERVER |
|
2047 | 2047 |
/* get peer info from control channel */ |
2048 | 2048 |
free (multi->peer_info); |
2049 | 2049 |
multi->peer_info = read_string_alloc (buf); |