diff options
author | Arne Schwabe <arne@rfc2549.org> | 2012-05-05 02:52:57 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2012-05-05 02:52:57 +0200 |
commit | 869a1d121c5105f5b10b3522a29ac562b226b5a0 (patch) | |
tree | 352e568e7a120282937f30ade1fa077fa7ecaf7c /openvpn | |
parent | ef264f51e7b57e771ce4339261d2bb918580ecc9 (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.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/openvpn/src/openvpn/options.c b/openvpn/src/openvpn/options.c index c48d7be..525c00c 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); |