Hi, I'm using tcp_dissect_pdus() to reassemble packets in my dissector. One of my functions will calculate the length of the real message based on a header with a fixed length (get_pdu_len function pointer). But what is the best way to stop the dissection in get_pdu_len if I figured out that the header is invalid? I could just return 0 which would result in a call to show_reported_bounds_error(), but is that the best way to report the error?
Thanks! Tobi ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
