]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Don't advance the connection list on AUTH_FAILED errors.
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 16 Jan 2010 03:54:00 +0000 (03:54 +0000)
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>
Sat, 16 Jan 2010 03:54:00 +0000 (03:54 +0000)
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@5370 e7ae566f-a301-0410-adde-c780ea21d3b5

push.c

diff --git a/push.c b/push.c
index f817c870e44d7a6ae40bc8bcbfb4a28c160e17f8..70bb9a3bad98a9d3933758d06e9ac31488284b5a 100644 (file)
--- 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 ())