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 6232] No error for UDP/IPv6 packet with zero checksum

Date: Thu, 11 Aug 2011 01:48:21 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6232

--- Comment #2 from gunya@xxxxxxxxxxxx 2011-08-11 01:48:21 PDT ---
I think what need:
--- epan/dissectors/packet-udp.c
+++ epan/dissectors/packet-udp.c
@@ -421,1 +421,1 @@
 if (udph->uh_sum == 0) {
     /* No checksum supplied in the packet. */
-    if (ip_proto == IP_PROTO_UDP) {
+    if ((ip_proto == IP_PROTO_UDP) && (pinfo->src.type != AT_IPv6)) {

Since, in theory, UDP can not be just over IP.

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