]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
cwc: add CAID to reader nice name
authorJaroslav Kysela <perex@perex.cz>
Sun, 1 Feb 2015 11:07:10 +0000 (12:07 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 1 Feb 2015 11:07:10 +0000 (12:07 +0100)
src/descrambler/cwc.c

index bac4aa448c38689b28d54053a983670f73df4fd5..570dffe0c4711e073c49402bacd6f19796beb136 100755 (executable)
@@ -2039,7 +2039,7 @@ cwc_service_start(caclient_t *cac, service_t *t)
   ct->cs_constcw       = pcard->cwc_caid == 0x2600;
 
   td                   = (th_descrambler_t *)ct;
-  snprintf(buf, sizeof(buf), "cwc-%s-%i", cwc->cwc_hostname, cwc->cwc_port);
+  snprintf(buf, sizeof(buf), "cwc-%s-%i-%04X", cwc->cwc_hostname, cwc->cwc_port, pcard->cwc_caid);
   td->td_nicename      = strdup(buf);
   td->td_service       = t;
   td->td_stop          = cwc_service_destroy;