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 9492] New: Have MPLS dissector register itself in "ppp.pro

Date: Sun, 01 Dec 2013 09:26:38 +0000
Bug ID 9492
Summary Have MPLS dissector register itself in "ppp.protocol" table (patch included)
Classification Unclassified
Product Wireshark
Version SVN
Hardware All
OS All
Status UNCONFIRMED
Severity Trivial
Priority Low
Component Dissection engine (libwireshark)
Assignee [email protected]
Reporter [email protected]

Created attachment 12201 [details]
packet-mpls.c diff to register the MPLS dissector in the "ppp.protocol" table

Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
Greetings,

Most probably by omission, the MPLS dissector does not currently register
itself in the "ppp.protocol" dissector table. As a result, PPP frames carrying
MPLS-labeled packets are dissected only to the frame level, and their contents
(the MPLS label itself, and the following packet) are displayed only as data.

The attached patch (basically a trivial addition of two dissector_add_uint()
lines to the packet-mpls.c) corrects this error. While the patch is produced
against the SVN version of the packet-mpls.c, I believe this fix is so trivial
it could be safely included/backported into the current stable version as well.

Thank you!

Best regards,
Peter


You are receiving this mail because:
  • You are watching all bug changes.