From 87c25cbf644b899547ace009c7bec7b6922cc5cd Mon Sep 17 00:00:00 2001 From: Niko Tyni Date: Sun, 25 Sep 2005 12:46:51 +0000 Subject: * (trunk,2.0)/ lib/Smokeping/probes/TelnetIOSPing.pm: + change the Net::Telnet->new() call so it compiles without Net::Telnet loaded --- lib/Smokeping/probes/TelnetIOSPing.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Smokeping/probes/TelnetIOSPing.pm b/lib/Smokeping/probes/TelnetIOSPing.pm index 5f68877..3b78581 100644 --- a/lib/Smokeping/probes/TelnetIOSPing.pm +++ b/lib/Smokeping/probes/TelnetIOSPing.pm @@ -143,7 +143,7 @@ sub pingone ($$){ my @args = (); - my $telnet = new Net::Telnet; + my $telnet = Net::Telnet->new(); # These are for debugging # $telnet->errmode("TIPreturn"); # $telnet->input_log("TIPinlog"); -- cgit v1.2.3-24-g4f1b