Changeset 17922
- Timestamp:
- 09/16/12 19:25:39 (12 years ago)
- Location:
- titan/titan
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/ca.h
r17905 r17922 1701 1701 } 1702 1702 1703 int sendcapmttocam(struct service* node, unsigned char* buf, int len, int caservicenr, int cmdpos )1703 int sendcapmttocam(struct service* node, unsigned char* buf, int len, int caservicenr, int cmdpos, int clear) 1704 1704 { 1705 1705 char* tmpstr = NULL, *blacklist = NULL; … … 1714 1714 //check if crypt can onyl handle single service 1715 1715 tmpstr = ostrcat("camtype_", oitoa(dvbnode->devnr), 0, 1); 1716 if( getconfigint(tmpstr, NULL) == 0 && getcaservicebyslot(dvbnode->caslot, 1) > -1)1716 if(clear == 0 && getconfigint(tmpstr, NULL) == 0 && getcaservicebyslot(dvbnode->caslot, 1) > -1) 1717 1717 { 1718 1718 debug(620, "cam is singel and is in use"); … … 1796 1796 1797 1797 //check if cam can decrypt 1798 if(c aservice[caservicenr].camanager > -1 && getconfigint("checkcamdecrypt", NULL) == 1)1798 if(clear == 0 && caservice[caservicenr].camanager > -1 && getconfigint("checkcamdecrypt", NULL) == 1) 1799 1799 { 1800 1800 if(buf != NULL && len >= cmdpos) -
titan/titan/cam.h
r17902 r17922 399 399 #ifdef CAMSUPP 400 400 if(caservice[caservicenr].caslot == NULL || clear == 1) 401 sendcapmttocam(node, buf, pos, caservicenr, lenbytes + 9 );401 sendcapmttocam(node, buf, pos, caservicenr, lenbytes + 9, clear); 402 402 #endif 403 403 if(clear == 0)
Note: See TracChangeset
for help on using the changeset viewer.