diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-09-25 14:46:51 +0200 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-09-25 14:46:51 +0200 |
commit | 87c25cbf644b899547ace009c7bec7b6922cc5cd (patch) | |
tree | 94aca180dfacfce45056bbac2a99b0647e1fcca4 | |
parent | 12b1e1921c3da6e7c7e178682fb13097196a157b (diff) | |
download | smokeping-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
-rw-r--r-- | lib/Smokeping/probes/TelnetIOSPing.pm | 2 |
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"); |