From 5bcb6351be6c38cb540093cb82de72bedf93cc0d Mon Sep 17 00:00:00 2001 From: Jan Willamowius Date: Tue, 13 Sep 2005 14:03:48 +0000 Subject: [PATCH] shorter timeout (was 15 sec, now 6 sec) --- src/lib/Spong/Network/plugins/check_telnet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.30.2