Wireshark-bugs: [Wireshark-bugs] [Bug 6232] No error for UDP/IPv6 packet with zero checksum
Date: Thu, 11 Aug 2011 01:33:30 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6232

--- Comment #1 from Jaap Keuter <jaap.keuter@xxxxxxxxx> 2011-08-11 10:33:28 CEST ---
I guess this would address that:

--- 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_IPv4)) {

Easy to backport too.

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