diff options
author | Arne Schwabe <arne@rfc2549.org> | 2015-09-15 11:23:33 +0200 |
---|---|---|
committer | Gert Doering <gert@greenie.muc.de> | 2015-09-15 13:32:17 +0200 |
commit | 8db23a57c878abd5b01c784c7db570176de555ef (patch) | |
tree | a5aba869b217fafb5e4c800d94693c4a1b14bb83 /src/openvpn/push.c | |
parent | 429f0560e3a908ffa00f18ba1a81af03ba05751e (diff) | |
download | openvpn-8db23a57c878abd5b01c784c7db570176de555ef.tar.gz openvpn-8db23a57c878abd5b01c784c7db570176de555ef.tar.xz openvpn-8db23a57c878abd5b01c784c7db570176de555ef.zip |
Remove #ifdefs for client nat support.
The client-nat feature was always unconditionally enabled
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1442309019-7586-3-git-send-email-arne@rfc2549.org>
URL: http://article.gmane.org/gmane.network.openvpn.devel/10109
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/push.c')
-rw-r--r-- | src/openvpn/push.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/openvpn/push.c b/src/openvpn/push.c index 8706166..b9d0c4c 100644 --- a/src/openvpn/push.c +++ b/src/openvpn/push.c @@ -294,10 +294,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)); |