Changeset 1741


Ignore:
Timestamp:
Feb 28, 2010, 10:06:39 AM (10 years ago)
Author:
merek
Message:

Ident fixes for newcamd and cccam, thanks to equeorto

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/module-cccam.c

    r1671 r1741  
    10311031
    10321032      for (j=0; j<reader[r].nprov; j++) {
    1033         memcpy(buf + 21 + (j*7), reader[r].prid[j]+1, 3);
     1033        memcpy(buf + 21 + (j*7), reader[r].prid[j]+0, 3);
    10341034      }
    10351035
  • trunk/module-newcamd.c

    r1584 r1741  
    319319    reader[ridx].prid[i][2] = buf[17+2+11*i];
    320320    memcpy(&reader[ridx].sa[i], buf+22+2+11*i, 4); // the 4 first bytes are not read
    321     cs_log("Provider ID: %02X%02X%02X - SA: %02X%02X%02X%02X", reader[ridx].prid[i][1],  reader[ridx].prid[i][2], reader[ridx].prid[i][3], reader[ridx].sa[i][0], reader[ridx].sa[i][1], reader[ridx].sa[i][2], reader[ridx].sa[i][3]);
     321    cs_log("Provider ID: %02X%02X%02X - SA: %02X%02X%02X%02X", reader[ridx].prid[i][0],  reader[ridx].prid[i][1], reader[ridx].prid[i][2], reader[ridx].sa[i][0], reader[ridx].sa[i][1], reader[ridx].sa[i][2], reader[ridx].sa[i][3]);
    322322  }
    323323  memcpy(reader[ridx].ncd_skey, key, 16);
Note: See TracChangeset for help on using the changeset viewer.