Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6881] Support for MPLS Packet Loss and Delay Measurement,

Date: Sun, 12 Aug 2012 06:48:15 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6881

--- Comment #18 from FF <francesco.fondelli@xxxxxxxxx> 2012-08-12 06:48:14 PDT ---
(In reply to comment #16)
[cut]
> Hi,
> How about:
>      if (!(*class_specific)) {
>          /*
>           * FF: when the T flag is set to 0 the DS field can be considered
>           * part of the Session Identifier.
>           */
>          *sid = tvb_get_ntohl(tvb, offset + 8);
>      } else {
>          *sid = (tvb_get_ntohl(tvb, offset + 8)>>6;

Hi Anders, Bill,

my prev patch (attachment 8930) is silly and wrong (i.e. g_ntohl()).  Please 
check attachment 8943 in (which is Anders code + clean up of now 
unused variables).

thanks for your time
ciao
FF

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.