Closed sdrsdr closed 8 years ago
Thanks, this is a bug. I didn't use 2 byte option codes so I never tested them... Will merge your fixes in soon. I just noticed that there is also a problem with out-of-order insertion for 2 byte option codes, so I'll make the fix for that first.
Consider this sample code:
The second pdu.printHuman() is producing total garbage. as a side note, pdu.printHuman() will quit if no options are present, not showing the payload.