34_ESPEasy.pm: fix uninitialized value in line 1103 (Forum #74633)
git-svn-id: https://svn.fhem.de/fhem/trunk@14808 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -36,7 +36,7 @@ use Color;
|
||||
# ------------------------------------------------------------------------------
|
||||
# global/default values
|
||||
# ------------------------------------------------------------------------------
|
||||
my $module_version = "1.21"; # Version of this module
|
||||
my $module_version = "1.22"; # Version of this module
|
||||
my $minEEBuild = 128; # informational
|
||||
my $minJsonVersion = 1.02; # checked in received data
|
||||
|
||||
@@ -1100,7 +1100,7 @@ sub ESPEasy_dispatch($$$@) #called by bridge -> send to logical devices
|
||||
return if (IsDisabled $name);
|
||||
|
||||
my $type = $hash->{TYPE};
|
||||
my $ipv = $hash->{PEER} =~ m/:/ ? 6 : 4;
|
||||
my $ipv = $host =~ m/:/ ? 6 : 4;
|
||||
my $bhash = $modules{ESPEasy}{defptr}{BRIDGE}{$ipv};
|
||||
my $bname = $bhash->{NAME};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user