From 8f3889f5e98b4da2bdabb4569d1952beee3b0798 Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Mon, 23 Jan 2017 21:26:20 +0000 Subject: [PATCH] 70_PHTV: fix network port assignment git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13217 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/70_PHTV.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/70_PHTV.pm b/FHEM/70_PHTV.pm index 72f3565a5..37b2bd3d8 100644 --- a/FHEM/70_PHTV.pm +++ b/FHEM/70_PHTV.pm @@ -1533,7 +1533,7 @@ sub PHTV_SendCommand($$;$$$) { # add missing port if required if ( $address !~ m/^(.+):([0-9]+)$/ ) { - $address .= ":1925"; + $address .= ":1925" if ( $protoV <= 5 ); $address .= ":1926" if ( $protoV > 5 ); }