summaryrefslogtreecommitdiffstats
path: root/manage.h
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-09-29 23:10:14 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-09-29 23:10:14 +0000
commit5733ef668ff51d7a553fb5bc76a1c4ff00352e27 (patch)
tree25a355111e3442d04c35136456eaf741ac96f6e1 /manage.h
parent8e952ed1977eee75cecdf2a580f07a2c6da622a4 (diff)
downloadopenvpn-5733ef668ff51d7a553fb5bc76a1c4ff00352e27.tar.gz
openvpn-5733ef668ff51d7a553fb5bc76a1c4ff00352e27.tar.xz
openvpn-5733ef668ff51d7a553fb5bc76a1c4ff00352e27.zip
Added the ability for the server to provide a custom reason string
when an AUTH_FAILED message is returned to the client. This string can be set by the server-side managment interface and read by the client-side management interface. For more info, see management/management-notes.txt, and look for references to "client-reason-text". git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5012 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'manage.h')
-rw-r--r--manage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/manage.h b/manage.h
index 23c1fbc..6d6d710 100644
--- a/manage.h
+++ b/manage.h
@@ -162,6 +162,7 @@ struct management_callback
const unsigned int mda_key_id,
const bool auth,
const char *reason,
+ const char *client_reason,
struct buffer_list *cc_config); /* ownership transferred */
#endif
#ifdef MANAGEMENT_PF