]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Allow OPT_P_SOCKFLAGS to be specified in
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 19 Oct 2005 14:10:41 +0000 (14:10 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Wed, 19 Oct 2005 14:10:41 +0000 (14:10 +0000)
a client-specific config.

git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@681 e7ae566f-a301-0410-adde-c780ea21d3b5

multi.c

diff --git a/multi.c b/multi.c
index c4015d7c767b2a5b52f49ac376e0d24b2118a425..e3444df47ae326362da73e9f3193cd3da8232b9a 100644 (file)
--- a/multi.c
+++ b/multi.c
@@ -1289,8 +1289,17 @@ multi_connection_established (struct multi_context *m, struct multi_instance *mi
     {
       struct gc_arena gc = gc_new ();
       unsigned int option_types_found = 0;
+
       const unsigned int option_permissions_mask =
-       OPT_P_INSTANCE|OPT_P_INHERIT|OPT_P_PUSH|OPT_P_TIMER|OPT_P_CONFIG|OPT_P_ECHO|OPT_P_COMP;
+         OPT_P_INSTANCE
+       | OPT_P_INHERIT
+       | OPT_P_PUSH
+       | OPT_P_TIMER
+       | OPT_P_CONFIG
+       | OPT_P_ECHO
+       | OPT_P_COMP
+       | OPT_P_SOCKFLAGS;
+
       int cc_succeeded = true; /* client connect script status */
       int cc_succeeded_count = 0;