summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2010-03-12 03:00:41 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2010-03-12 03:00:41 +0000
commit550b7d5ad9c617d69361012738b82843ff3b7f11 (patch)
tree203a0bf2a0386633889a638163fd8c53da33671b
parentdf2fc7b6a5a187969e94d55bfc956dfa5070fd1d (diff)
downloadopenvpn-550b7d5ad9c617d69361012738b82843ff3b7f11.tar.gz
openvpn-550b7d5ad9c617d69361012738b82843ff3b7f11.tar.xz
openvpn-550b7d5ad9c617d69361012738b82843ff3b7f11.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;