changeset 92:2e92778dd162

Auth doesn't timeout after 5 minutes.
author Matt Johnston <matt@ucc.asn.au>
date Wed, 18 Aug 2004 09:14:43 +0000
parents dc68f7624f17
children 5dda5a4d475c
files svr-auth.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/svr-auth.c	Wed Aug 18 09:14:30 2004 +0000
+++ b/svr-auth.c	Wed Aug 18 09:14:43 2004 +0000
@@ -340,6 +340,8 @@
 	encrypt_packet();
 
 	ses.authstate.authdone = 1;
+	ses.connecttimeout = 0;
+
 
 	if (ses.authstate.pw->pw_uid == 0) {
 		ses.allowprivport = 1;