mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-07 12:58:13 +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:
parent
7c877f6985
commit
a9c8d8aa9a
@ -42,7 +42,7 @@ use Data::Dumper;
|
||||
my $missingModulRemote;
|
||||
eval "use Net::Telnet;1" or $missingModulRemote .= "Net::Telnet ";
|
||||
|
||||
my $VERSION = "2.3.3";
|
||||
my $VERSION = "2.3.4";
|
||||
|
||||
use constant {
|
||||
PERL_VERSION => "perl_version",
|
||||
@ -4201,7 +4201,7 @@ SYSMON_Exec_Ssh($$)
|
||||
|
||||
SYSMON_Log($hash, 5, "Execute '".$cmd."' by SSH");
|
||||
my $p_tmp = '';
|
||||
if(!defined($port)) {
|
||||
if(defined($port)) {
|
||||
$p_tmp = ' -p '.$port.' ';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user