add cygwin as windows specific behaviour
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2673 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -358,7 +358,7 @@ PRESENCE_DoLocalPingScan($$)
|
||||
my $retcode;
|
||||
my $return;
|
||||
my $temp;
|
||||
if($^O =~ m/Win/)
|
||||
if($^O =~ m/(Win|cygwin)/)
|
||||
{
|
||||
eval "require Net::Ping;";
|
||||
my $pingtool = Net::Ping->new("syn");
|
||||
|
||||
Reference in New Issue
Block a user