Ethereal-dev: Re: [Ethereal-dev] Small patch for MPLS dissector

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

From: Carlos Pignataro <cpignata@xxxxxxxxx>
Date: Wed, 22 Sep 2004 08:20:43 -0400
Guy,

At 01:11 AM 9/22/2004 -0700, Guy Harris wrote:
>Carlos Pignataro wrote:
>
>>Please find attached diffs to packet-mpls.c to append MPLS fields and values
>>to the MPLS Header subtree and correct the string displayed for MPLS Label.
>
>That also means that you can't use the special MPLS label strings in display filters.

True.


>Should it, instead, use "proto_tree_add_uint_format()" for the "label > MAX_RESERVED" case, so that non-special labels don't get displayed as "Unknown"?

Yes, please find attached new patch using `proto_tree_add_uint_format' for that case. Thanks for the comment.

--Carlos.


>_______________________________________________
>Ethereal-dev mailing list
>Ethereal-dev@xxxxxxxxxxxx
>http://www.ethereal.com/mailman/listinfo/ethereal-dev

Attachment: packet-mpls.c.patch
Description: Binary data