mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
70_PHTV: fix network port assignment
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13217 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
60a29e9bc4
commit
8f3889f5e9
@ -1533,7 +1533,7 @@ sub PHTV_SendCommand($$;$$$) {
|
|||||||
|
|
||||||
# add missing port if required
|
# add missing port if required
|
||||||
if ( $address !~ m/^(.+):([0-9]+)$/ ) {
|
if ( $address !~ m/^(.+):([0-9]+)$/ ) {
|
||||||
$address .= ":1925";
|
$address .= ":1925" if ( $protoV <= 5 );
|
||||||
$address .= ":1926" if ( $protoV > 5 );
|
$address .= ":1926" if ( $protoV > 5 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user