From: Sam Stenvall Date: Sun, 3 Jan 2016 17:51:28 +0000 (+0200) Subject: don't attempt to open IP addresses as files when the highest OSCam mode is used X-Git-Tag: v4.2.1~1235 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1abd43e5e4ae906b9100d37a4b111cdcedea48d5;p=thirdparty%2Ftvheadend.git don't attempt to open IP addresses as files when the highest OSCam mode is used --- diff --git a/src/descrambler/capmt.c b/src/descrambler/capmt.c index 11b34ef54..c2ca1a462 100644 --- a/src/descrambler/capmt.c +++ b/src/descrambler/capmt.c @@ -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];