summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/print-tcp.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-09-04 20:04:42 +0000
committersam <sam@FreeBSD.org>2006-09-04 20:04:42 +0000
commita6a758d9f4a0eef22ccec65dd1dd468fdaa1f052 (patch)
tree1cc8d2a0d0105d5f0de51384c9f1981ef4b5e293 /contrib/tcpdump/print-tcp.c
parentaff9fbdea15651bd8316a35944ed2b9ad7ad4e45 (diff)
parent498672d44881880f8839eb7839500652b77e08b9 (diff)
downloadFreeBSD-src-a6a758d9f4a0eef22ccec65dd1dd468fdaa1f052.zip
FreeBSD-src-a6a758d9f4a0eef22ccec65dd1dd468fdaa1f052.tar.gz
This commit was generated by cvs2svn to compensate for changes in r162017,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/tcpdump/print-tcp.c')
-rw-r--r--contrib/tcpdump/print-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/tcpdump/print-tcp.c b/contrib/tcpdump/print-tcp.c
index c1dede8..ab736a0 100644
--- a/contrib/tcpdump/print-tcp.c
+++ b/contrib/tcpdump/print-tcp.c
@@ -799,7 +799,7 @@ tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp,
MD5_Update(&ctx, tcpmd5secret, strlen(tcpmd5secret));
MD5_Final(sig, &ctx);
- if (memcmp(rcvsig, sig, 16) == 0)
+ if (memcmp(rcvsig, sig, 16))
return (SIGNATURE_VALID);
else
return (SIGNATURE_INVALID);
OpenPOWER on IntegriCloud