https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6904

--- Comment #6 from Anders Broman <[email protected]> 2012-03-15 
23:34:03 PDT ---
In Changes done to packet-mpls.c to support decoding of MPLS-TP Lock Instruct
messages
+    guint8  li_version = 0;  
+    guint16 reserved = 0;
+    guint8  refresh_timer = 0;
:
+    li_version = ((tvb_get_guint8 (tvb, offset) & 0xf0) >> 4);
+    reserved = tvb_get_ntohs (tvb, (offset + 1));
+    refresh_timer = tvb_get_guint8 (tvb, (offset + 3));
:+            proto_tree_add_uint (mplstp_tree, hf_li_version , tvb, offset,
+                                 1, li_version);
+            proto_tree_add_uint (mplstp_tree, hf_li_reserved, tvb, offset,
+                                 3, reserved);
+            proto_tree_add_uint (mplstp_tree, hf_li_refresh_timer, tvb,
(offset + 3),
+                                 1, refresh_timer);
could be replaced with proto_add_item()

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
___________________________________________________________________________
Sent via:    Wireshark-bugs mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://wireshark.org/mailman/options/wireshark-bugs
             mailto:[email protected]?subject=unsubscribe

Reply via email to