summaryrefslogtreecommitdiff
path: root/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-05-05 02:52:57 +0200
committerArne Schwabe <arne@rfc2549.org>2012-05-05 02:52:57 +0200
commit869a1d121c5105f5b10b3522a29ac562b226b5a0 (patch)
tree352e568e7a120282937f30ade1fa077fa7ecaf7c /openvpn
parentef264f51e7b57e771ce4339261d2bb918580ecc9 (diff)
0.4.8b - the my phone has a /tmp but most ics do not
Diffstat (limited to 'openvpn')
-rw-r--r--openvpn/src/openvpn/options.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/openvpn/src/openvpn/options.c b/openvpn/src/openvpn/options.c
index c48d7be9..525c00cd 100644
--- a/openvpn/src/openvpn/options.c
+++ b/openvpn/src/openvpn/options.c
@@ -5420,6 +5420,11 @@ add_option (struct options *options,
options->occ = false;
}
#endif
+ else if (streq (p[0], "tmp-dir") && p[1])
+ {
+ VERIFY_PERMISSION (OPT_P_GENERAL);
+ options->tmp_dir = p[1];
+ }
#if P2MP
#if P2MP_SERVER
else if (streq (p[0], "server") && p[1] && p[2])
@@ -5701,11 +5706,6 @@ add_option (struct options *options,
warn_multiple_script (options->learn_address_script, "learn-address");
options->learn_address_script = p[1];
}
- else if (streq (p[0], "tmp-dir") && p[1])
- {
- VERIFY_PERMISSION (OPT_P_GENERAL);
- options->tmp_dir = p[1];
- }
else if (streq (p[0], "client-config-dir") && p[1])
{
VERIFY_PERMISSION (OPT_P_GENERAL);