mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
DevIo.pm: do not treat /dev/...usb-0:1 as TCP or websocket (Forum #111832)
git-svn-id: https://svn.fhem.de/fhem/trunk@22120 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
244e339831
commit
c6c66c33ad
@ -453,7 +453,7 @@ DevIo_OpenDev($$$;$)
|
||||
return &$doCb("");
|
||||
}
|
||||
|
||||
} elsif($dev =~ m/^(ws:|wss:)?([^:]+):([0-9]+)(.*?)$/) {# TCP or websocket
|
||||
} elsif($dev =~ m,^(ws:|wss:)?([^/:]+):([0-9]+)(.*?)$,) {# TCP or websocket
|
||||
|
||||
my ($proto, $host, $port, $path) = ($1 ? $1 : "", $2, $3, $4);
|
||||
$dev = "$host:$port";
|
||||
|
Loading…
Reference in New Issue
Block a user