70_PHTV: fix network port assignment

git-svn-id: https://svn.fhem.de/fhem/trunk@13217 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
loredo
2017-01-23 21:26:20 +00:00
parent 5423e4a058
commit 0d1fba48ed

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