summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/probes/TelnetIOSPing.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Smokeping/probes/TelnetIOSPing.pm')
-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");