diff svr-auth.c @ 1455:4afde04f0607 fuzz

merge up to date
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Jan 2018 22:46:07 +0800
parents ea150e3e95a6 517c67cbcd31
children 5916af64acd4
line wrap: on
line diff
--- a/svr-auth.c	Mon Aug 14 00:00:10 2017 +0800
+++ b/svr-auth.c	Tue Jan 23 22:46:07 2018 +0800
@@ -368,7 +368,7 @@
 		ses.authstate.failcount++;
 	}
 
-	if (ses.authstate.failcount >= MAX_AUTH_TRIES) {
+	if (ses.authstate.failcount >= svr_opts.maxauthtries) {
 		char * userstr;
 		/* XXX - send disconnect ? */
 		TRACE(("Max auth tries reached, exiting"))