summaryrefslogtreecommitdiffstats
path: root/syshead.h
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2011-07-05 00:33:55 +0000
committerJames Yonan <james@openvpn.net>2011-07-05 00:33:55 +0000
commit54561af63699e7408fba11c75bbf9e22ed6216dc (patch)
treef75b352719fab8367306b383a18fc6779beeae7c /syshead.h
parent5cdb5e0111df7b3d4da7e28390af6e4f26b2cdbe (diff)
downloadopenvpn-54561af63699e7408fba11c75bbf9e22ed6216dc.tar.gz
openvpn-54561af63699e7408fba11c75bbf9e22ed6216dc.tar.xz
openvpn-54561af63699e7408fba11c75bbf9e22ed6216dc.zip
Added "management-query-remote" directive (client) to allow
the management interface to override the "remote" directive. See "remote" command in management/management-notes.txt for documentation. Version 2.1.4. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@7410 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'syshead.h')
-rw-r--r--syshead.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/syshead.h b/syshead.h
index 038b484..3cc6c3f 100644
--- a/syshead.h
+++ b/syshead.h
@@ -661,6 +661,15 @@ socket_defined (const socket_descriptor_t sd)
#endif
/*
+ * Should we include --management-query-remote functionality
+ */
+#if defined(ENABLE_CONNECTION) && defined(ENABLE_MANAGEMENT)
+#define MANAGEMENT_QUERY_REMOTE 1
+#else
+#define MANAGEMENT_QUERY_REMOTE 0
+#endif
+
+/*
* Reduce sensitivity to system clock instability
* and backtracks.
*/