aboutsummaryrefslogtreecommitdiff
path: root/openvpn.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-01 21:05:04 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-11-01 21:05:04 +0000
commit76a59eae43d2a1d08c6dae855b57625008c44cca (patch)
tree6c438bd05ebb9c7fe48d84c7956c5335fe462d94 /openvpn.h
parentVERSION 2.1_beta5 (diff)
downloadopenvpn-76a59eae43d2a1d08c6dae855b57625008c44cca.tar.xz
Merged 2.0.4 changes.
svn merge -r 737:749 $SO/trunk/openvpn git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@750 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'openvpn.h')
-rw-r--r--openvpn.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/openvpn.h b/openvpn.h
index 318f10d..e635dba 100644
--- a/openvpn.h
+++ b/openvpn.h
@@ -397,12 +397,11 @@ struct context_2
in_addr_t push_ifconfig_local;
in_addr_t push_ifconfig_remote_netmask;
- /* client authentication state */
-# define CAS_UNDEF 0
-# define CAS_SUCCEEDED 1
-# define CAS_PENDING 2
-# define CAS_FAILED 3
-# define CAS_PARTIAL 4 /* at least one client-connect script/plugin
+ /* client authentication state, CAS_SUCCEEDED must be 0 */
+# define CAS_SUCCEEDED 0
+# define CAS_PENDING 1
+# define CAS_FAILED 2
+# define CAS_PARTIAL 3 /* at least one client-connect script/plugin
succeeded while a later one in the chain failed */
int context_auth;
#endif