aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-31 06:14:55 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-31 06:14:55 +0000
commiteddd5066f03f7ad6b366e7043352934943b99f25 (patch)
tree4985596632f91244718b7c352f0ba772461e24da /options.c
parentModified pkitool to allow flexibility in separating (diff)
downloadopenvpn-eddd5066f03f7ad6b366e7043352934943b99f25.tar.xz
Added --status-version 3 which is the same as version 2
except tabs are used as delimiters instead of commas. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3466 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'options.c')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index 05a6960..22bdeb0 100644
--- a/options.c
+++ b/options.c
@@ -3837,9 +3837,9 @@ add_option (struct options *options,
VERIFY_PERMISSION (OPT_P_GENERAL);
version = atoi (p[1]);
- if (version < 1 || version > 2)
+ if (version < 1 || version > 3)
{
- msg (msglevel, "--status-version must be 1 or 2");
+ msg (msglevel, "--status-version must be 1 to 3");
goto err;
}
options->status_file_version = version;