diff options
Diffstat (limited to 'main/openvpn/src/openvpn/push.c')
-rw-r--r-- | main/openvpn/src/openvpn/push.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/main/openvpn/src/openvpn/push.c b/main/openvpn/src/openvpn/push.c index 606bb05d..26f59987 100644 --- a/main/openvpn/src/openvpn/push.c +++ b/main/openvpn/src/openvpn/push.c @@ -67,7 +67,6 @@ receive_auth_failed (struct context *c, const struct buffer *buffer) ASSERT (0); } c->sig->signal_text = "auth-failure"; -#ifdef ENABLE_MANAGEMENT if (management) { const char *reason = NULL; @@ -76,7 +75,6 @@ receive_auth_failed (struct context *c, const struct buffer *buffer) reason = BSTR (&buf); management_auth_failure (management, UP_TYPE_AUTH, reason); } else -#endif { #ifdef ENABLE_CLIENT_CR struct buffer buf = *buffer; @@ -293,10 +291,8 @@ send_push_reply (struct context *c) if (c->c2.push_ifconfig_defined && c->c2.push_ifconfig_local && c->c2.push_ifconfig_remote_netmask) { in_addr_t ifconfig_local = c->c2.push_ifconfig_local; -#ifdef ENABLE_CLIENT_NAT if (c->c2.push_ifconfig_local_alias) ifconfig_local = c->c2.push_ifconfig_local_alias; -#endif buf_printf (&buf, ",ifconfig %s %s", print_in_addr_t (ifconfig_local, 0, &gc), print_in_addr_t (c->c2.push_ifconfig_remote_netmask, 0, &gc)); |