From 869a1d121c5105f5b10b3522a29ac562b226b5a0 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Sat, 5 May 2012 02:52:57 +0200 Subject: 0.4.8b - the my phone has a /tmp but most ics do not --- openvpn/src/openvpn/options.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'openvpn') 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); -- cgit v1.2.3