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:
jpawlowski 2017-01-23 21:26:20 +00:00
parent 60a29e9bc4
commit 8f3889f5e9

View File

@ -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 );
} }