2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

fix: ssh port

git-svn-id: https://svn.fhem.de/fhem/trunk@17227 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
hexenmeister 2018-08-29 19:58:18 +00:00
parent 7c877f6985
commit a9c8d8aa9a

View File

@ -42,7 +42,7 @@ use Data::Dumper;
my $missingModulRemote; my $missingModulRemote;
eval "use Net::Telnet;1" or $missingModulRemote .= "Net::Telnet "; eval "use Net::Telnet;1" or $missingModulRemote .= "Net::Telnet ";
my $VERSION = "2.3.3"; my $VERSION = "2.3.4";
use constant { use constant {
PERL_VERSION => "perl_version", PERL_VERSION => "perl_version",
@ -4201,7 +4201,7 @@ SYSMON_Exec_Ssh($$)
SYSMON_Log($hash, 5, "Execute '".$cmd."' by SSH"); SYSMON_Log($hash, 5, "Execute '".$cmd."' by SSH");
my $p_tmp = ''; my $p_tmp = '';
if(!defined($port)) { if(defined($port)) {
$p_tmp = ' -p '.$port.' '; $p_tmp = ' -p '.$port.' ';
} }