aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2010-01-16 03:54:00 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2010-01-16 03:54:00 +0000
commitba30bc2251d67f87521787212f4822e3315177ba (patch)
tree19579046527d16f6b536b7ac19ca23d5108d8ed3
parentFixed an issue where AUTH_FAILED was not being properly delivered (diff)
downloadopenvpn-ba30bc2251d67f87521787212f4822e3315177ba.tar.xz
Don't advance the connection list on AUTH_FAILED errors.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5370 e7ae566f-a301-0410-adde-c780ea21d3b5
-rw-r--r--push.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/push.c b/push.c
index f817c87..70bb9a3 100644
--- a/push.c
+++ b/push.c
@@ -43,6 +43,7 @@ void
receive_auth_failed (struct context *c, const struct buffer *buffer)
{
msg (M_VERB0, "AUTH: Received AUTH_FAILED control message");
+ connection_list_set_no_advance(&c->options);
if (c->options.pull)
{
switch (auth_retry_get ())