Ethereal-dev: [Ethereal-dev] Patch for GPT dissector

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

From: "Flavio Poletti" <flavio@xxxxxxxxxxx>
Date: Thu, 02 Jan 2003 11:26:27 GMT
Hi all,

back on the GTP dissector again... Another time, it is related to 3GPP QoS sent to the RADIUS server (but packet-radius.c is *not* affected). There must be something strange in 3GPP TS 29.061, because as of version 3.a.0 the length of the QoS profile suggests the inclusion of the hyphen in the following expression: "<Release indicator> - <release specific QoS IE UTF-8 encoding>" I find that it is an error including such an unuseful character into the message; moreover, in the standard there are also two blanks around the hyphens, but the expected length does not take them into account... If there is someone from 3GPP, could she/he please explain me this inconsistency?!? "Standard flames" apart, I attach a patch to take into account the presence of the hyphen in the message. Please note that the code won't complain about hyphen absence, i.e. it will silently ignore its absence. Guy: please note that I can't compile Ethereal now, so the patch should be compile-tested. If you want, I'll try to compile it ASAP and give you feedback before you insert it into the code tree. Best Regards and Happy New Year, Flavio.
--
Flavio Poletti
flavio@xxxxxxxxxxx

Attachment: packet-gtp.c.diff
Description: Binary data