Wireshark-dev: Re: [Wireshark-dev] How to handle Ethernet frames with FCS, malformed packet in

Date: Tue, 27 Sep 2011 13:47:36 +0200
Seems to work perfect now!


-----Ursprüngliche Nachricht-----
Von: wireshark-dev-bounces@xxxxxxxxxxxxx [mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] Im Auftrag von Guy Harris
Gesendet: Montag, 26. September 2011 22:56
An: Developer support list for Wireshark
Betreff: Re: [Wireshark-dev] How to handle Ethernet frames with FCS,malformed packet in PN dissector


On Sep 26, 2011, at 12:34 PM, Guy Harris wrote:

> Yes - it's assuming that it's being handed a tvbuff containing the FCS, *even if the dissector for the link layer knows that there's an FCS*.  That's not what link-layer dissectors should be doing; there was a bug, introduced a while ago, where the Ethernet dissector wasn't removing the FCS if it knew it was there, so perhaps that code was written during the period where that bug was present.  I will remove that code from the PN dissector and leave behind a comment explaining why there is no FCS handling code there.

OK, done.  Try it with the current SVN version of Wireshark.

BTW, is there a spec available for PROFINET Real-Time packets, for non-PROFINET members, either for free or for a not-too-high fee?
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe


Hilscher Gesellschaft für Systemautomation mbH
Rheinstr. 15, 65795 Hattersheim
Sitz der Gesellschaft: Hattersheim
Geschäftsführer: Hans-Jürgen Hilscher
Registergericht: Amtsgericht Frankfurt/Main
Handelsregister: Frankfurt B 26873
www.hilscher.com