]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Added stub directive "remote-ip-hint".
authorJames Yonan <james@openvpn.net>
Fri, 12 Mar 2010 03:00:41 +0000 (03:00 +0000)
committerJames Yonan <james@openvpn.net>
Fri, 12 Mar 2010 03:00:41 +0000 (03:00 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5467 e7ae566f-a301-0410-adde-c780ea21d3b5

options.c

index c5ca8b67d5c3ebbf41b58f05b105bc97692e9e66..812c3dec720dc86c81423f9c21a63470ed52c855 100644 (file)
--- a/options.c
+++ b/options.c
@@ -3632,6 +3632,11 @@ add_option (struct options *options,
        }
     }
 #endif
+  else if (streq (p[0], "remote-ip-hint") && p[1])
+    {
+      VERIFY_PERMISSION (OPT_P_GENERAL|OPT_P_CONNECTION);
+      // fixme
+    }
   else if (streq (p[0], "remote") && p[1])
     {
       struct remote_entry re;