diff --git a/fhem/FHEM/70_STV.pm b/fhem/FHEM/70_STV.pm index 733cd5dd3..a574b9410 100644 --- a/fhem/FHEM/70_STV.pm +++ b/fhem/FHEM/70_STV.pm @@ -86,6 +86,7 @@ sub getMAC4IP($) my $IP = shift; my @interfaces = IO::Interface::Simple->interfaces; foreach my $if (@interfaces) { + next unless defined ($if->address); if ($if->address eq $IP) { return $if->hwaddr; }