mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
Enabling 0 for dynamic port-number. By andre / justme1968
git-svn-id: https://svn.fhem.de/fhem/trunk@2954 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
03ee68e7a0
commit
27ba198cad
@ -40,10 +40,10 @@ TcpServer_Open($$$)
|
||||
}
|
||||
|
||||
$hash->{FD} = $hash->{SERVERSOCKET}->fileno();
|
||||
$hash->{PORT} = $port;
|
||||
$hash->{PORT} = $hash->{SERVERSOCKET}->sockport();
|
||||
|
||||
$selectlist{"$name.$port"} = $hash;
|
||||
Log(3, "$name: port $port opened");
|
||||
Log(3, "$name: port ". $hash->{PORT} ." opened");
|
||||
return undef;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user