summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorNiko Tyni <ntyni@iki.fi>2005-09-25 14:46:51 +0200
committerNiko Tyni <ntyni@iki.fi>2005-09-25 14:46:51 +0200
commit87c25cbf644b899547ace009c7bec7b6922cc5cd (patch)
tree94aca180dfacfce45056bbac2a99b0647e1fcca4 /lib/Smokeping
parent12b1e1921c3da6e7c7e178682fb13097196a157b (diff)
downloadsmokeping-87c25cbf644b899547ace009c7bec7b6922cc5cd.tar.gz
smokeping-87c25cbf644b899547ace009c7bec7b6922cc5cd.tar.xz
* (trunk,2.0)/
lib/Smokeping/probes/TelnetIOSPing.pm: + change the Net::Telnet->new() call so it compiles without Net::Telnet loaded
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/probes/TelnetIOSPing.pm2
1 files changed, 1 insertions, 1 deletions
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");