summaryrefslogtreecommitdiffstats
path: root/src/openvpn/options.h
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2013-11-25 13:31:18 +0100
committerGert Doering <gert@greenie.muc.de>2013-11-29 21:21:29 +0100
commit8832c6c4cf7d1425684dd8e56984e407fe3e2aac (patch)
tree8c2697f2be9ddb03cfbc3701995cb5cd82bc1fee /src/openvpn/options.h
parent68793f40e1d04409264d21dd24453d959828a306 (diff)
downloadopenvpn-8832c6c4cf7d1425684dd8e56984e407fe3e2aac.tar.gz
openvpn-8832c6c4cf7d1425684dd8e56984e407fe3e2aac.tar.xz
openvpn-8832c6c4cf7d1425684dd8e56984e407fe3e2aac.zip
Implement listing on IPv4/IPv6 dual socket on all platform
With this patch OpenVPN will listen on Ipv4 as well as IPv6 when an IPv6 socket is used. Using bind ipv6only will disable this behavior Acked-by: Gert Doering <gert@greenie.muc.de> Message-Id: <1385382680-5912-7-git-send-email-arne@rfc2549.org> URL: http://article.gmane.org/gmane.network.openvpn.devel/8052 Signed-off-by: Gert Doering <gert@greenie.muc.de>
Diffstat (limited to 'src/openvpn/options.h')
-rw-r--r--src/openvpn/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/openvpn/options.h b/src/openvpn/options.h
index 86760bb..95e67df 100644
--- a/src/openvpn/options.h
+++ b/src/openvpn/options.h
@@ -95,6 +95,7 @@ struct connection_entry
const char *remote;
bool remote_float;
bool bind_defined;
+ bool bind_ipv6_only;
bool bind_local;
int connect_retry_seconds;
int connect_timeout;