From: james Date: Sat, 16 Jan 2010 03:54:00 +0000 (+0000) Subject: Don't advance the connection list on AUTH_FAILED errors. X-Git-Tag: v2.2-beta1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba30bc2251d67f87521787212f4822e3315177ba;p=thirdparty%2Fopenvpn.git 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 --- diff --git a/push.c b/push.c index f817c870e..70bb9a3ba 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 ())