Allow 0 length OpaqueDataTuple to be pack()ed
Closes #2021 (closed).
A customer was attempting to modify an Option 124 packet with zero length Opaque Data. While unpack()
currently supports decoding zero length OpaqueDataTuple
s from the wire format, pack()
seemed to have an explicit check to prevent the encoding of zero length OpaqueDataTuple
s. This seems like an oversight considering that some clients seem to send zero length Opaque Data.
The check has been removed from pack()
, and tests have been updated to reflect this requirement.