Ethereal-dev: Re: [Ethereal-dev] Re: question on TLV

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Tue, 13 Sep 2005 11:41:05 -0700
Alok wrote:

No it isnt... i checked on that.... the protocol  was an LFAP draft by the
way

Then, if you can, ask the author of the draft whether TLVs are supposed to be padded to 4-byte boundaries and, if they say "no", ask the author of the LFAP implementation that sent the packets in question whether they were aware that TLVs are not supposed to be passed to 4-byte boundaries. (Perhaps, as per Mark Pilant's suggestion, they just used "sizeof(structure)" in their implementation, without realizing that structure sizes are often padded to be a multiple of 4 bytes.)