From: Jan Willamowius Date: Tue, 13 Sep 2005 14:03:48 +0000 (+0000) Subject: shorter timeout (was 15 sec, now 6 sec) X-Git-Tag: spong-2_8_0-beta1~20 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bcb6351be6c38cb540093cb82de72bedf93cc0d;p=spong.git shorter timeout (was 15 sec, now 6 sec) --- diff --git a/src/lib/Spong/Network/plugins/check_telnet b/src/lib/Spong/Network/plugins/check_telnet index bc523ff..e610475 100644 --- a/src/lib/Spong/Network/plugins/check_telnet +++ b/src/lib/Spong/Network/plugins/check_telnet @@ -1,5 +1,5 @@ # check_telnet - v 1.0 May 18, 2000 - scarpe01@tufts.edu -# $Id: check_telnet,v 1.4 2003/02/22 20:55:45 sljohnson Exp $ +# $Id: check_telnet,v 1.5 2005/09/13 14:03:48 willamowius Exp $ # Register the routine with the plugins registry $PLUGINS{'telnet'} = \&check_telnet; @@ -31,7 +31,7 @@ sub check_telnet { } $con->print("\n\n"); - my @data = $con->getline((Timeout => 15)); + my @data = $con->getline((Timeout => 6)); if (@data) { $message .= "$host:$port -\n@data\n"; } else {