summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Yonan <james@openvpn.net>2010-03-12 03:00:41 +0000
committerJames Yonan <james@openvpn.net>2010-03-12 03:00:41 +0000
commitfdda3135a8a95e7540740fe7a71481dc7a40d610 (patch)
tree203a0bf2a0386633889a638163fd8c53da33671b
parent6624b877539b58375c75028637acf38aa921d821 (diff)
downloadopenvpn-fdda3135a8a95e7540740fe7a71481dc7a40d610.tar.gz
openvpn-fdda3135a8a95e7540740fe7a71481dc7a40d610.tar.xz
openvpn-fdda3135a8a95e7540740fe7a71481dc7a40d610.zip
Added stub directive "remote-ip-hint".
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5467 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.c b/options.c
index c5ca8b6..812c3de 100644
--- 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;