Skip to content

Commit

Permalink
Fix TLV81 encoding issue
Browse files Browse the repository at this point in the history
jforhan said:
> Confirmed that if I change docsis_symtable.h to "encode_hexstr" for
> TLV81 and recompile it encodes TLV81 correctly and D3.1 modems
> upgrade their firmware.

Closes #54
  • Loading branch information
rlaager committed Mar 23, 2017
1 parent c44100d commit 6b23fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docsis_symtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,7 @@ symbol_type symtable[NUM_IDENTIFIERS] = {
{ 346, "MaximumFrameSize", 7, 130, (encode_ushort), (decode_ushort), 0, 0 }, /* TLV 79.7 MULPIv3.0-I25 Annex C.3.3.7 */
{ 347, "PowerOverEthernetStatus", 8, 130, (encode_uchar), (decode_uchar), 0, 1 }, /* TLV 79.8 MULPIv3.0-I25 Annex C.3.3.8 */
{ 348, "MediaType", 9, 130, (encode_uchar), (decode_uchar), 0, 1 }, /* TLV 79.9 MULPIv3.0-I25 Annex C.3.3.9 */
{ 1419, "ManufacturerCVCChain", 81, 0, (encode_nothing), (decode_hexstr), 0, 255 }, /* TLV 81 MULPIv3.1-I07 Annex C.1.2.21 */
{ 1419, "ManufacturerCVCChain", 81, 0, (encode_hexstr), (decode_hexstr), 0, 255 }, /* TLV 81 MULPIv3.1-I07 Annex C.1.2.21 */
{ 1420, "CoSignerCVCChain", 82, 0, (encode_hexstr), (decode_hexstr), 0, 255 }, /* TLV 82 MULPIv3.1-I07 Annex C.1.2.22 */

/* eRouter TLVs */
Expand Down

0 comments on commit 6b23fd2

Please sign in to comment.