]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
don't attempt to open IP addresses as files when the highest OSCam mode is used
authorSam Stenvall <sam.stenvall@nordsoftware.com>
Sun, 3 Jan 2016 17:51:28 +0000 (19:51 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 3 Jan 2016 20:53:57 +0000 (21:53 +0100)
src/descrambler/capmt.c

index 11b34ef54767365b6ce6b266fbb02dd8e5b54855..c2ca1a46251799b56bc22ae09e044441e188b277 100644 (file)
@@ -484,7 +484,9 @@ capmt_connect(capmt_t *capmt, int i)
   if (!capmt->capmt_running)
     return -1;
 
-  if (capmt->capmt_oscam == CAPMT_OSCAM_TCP || capmt->capmt_oscam == CAPMT_OSCAM_NET_PROTO) {
+  if (capmt->capmt_oscam == CAPMT_OSCAM_TCP ||
+      capmt->capmt_oscam == CAPMT_OSCAM_NET_PROTO ||
+      capmt->capmt_oscam == CAPMT_OSCAM_UNIX_SOCKET_NP) {
 
     char errbuf[256];