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 | 1c6052df6172f8f4e025fa0934abe58aab640430 (patch) | |
| tree | 352e568e7a120282937f30ade1fa077fa7ecaf7c /openvpn | |
| parent | e4f201e9c75e40e5d743bd1f9a9e6d21bb79ebbe (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 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); | 
