Fill out the private descriptor fields correctly (tsid and onid)

This commit is contained in:
bowman-gh 2013-01-08 12:56:04 +01:00
parent 22eaf61c40
commit ea9f91e6ab

View file

@ -761,7 +761,7 @@ capmt_table_input(struct th_descrambler *td, struct service *t,
.cad_length = 0x08,
.cad_data = { 0x00, 0x00, 0x00, 0x00, // enigma namespace goes here
transponder >> 8, transponder & 0xFF,
onid >> 8, onid & 0xFF,
onid >> 8, onid & 0xFF
}};
memcpy(&buf[pos], &prd, prd.cad_length + 2);
pos += prd.cad_length + 2;