]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-tcp.c
Merge pull request #760 from leres/master
[tcpdump] / print-tcp.c
index 2db0f547b25a17117a24ed0b553731f3c7fd43de..4f95e334ff8cfb480f6dc3b7617cce6132556b12 100644 (file)
@@ -399,7 +399,7 @@ tcp_print(netdissect_options *ndo,
                                 else
                                         ND_PRINT(" (correct)");
                         }
-                } else if (IP_V(ip) == 6 && ip6->ip6_plen) {
+                } else if (IP_V(ip) == 6) {
                         if (ND_TTEST_LEN(tp->th_sport, length)) {
                                 sum = tcp6_cksum(ndo, ip6, tp, length);
                                 tcp_sum = GET_BE_U_2(tp->th_sum);