summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-11-13 19:28:17 +0000
committersam <sam@FreeBSD.org>2005-11-13 19:28:17 +0000
commit32ef29176760f859ef551644967b61e579f3ffbd (patch)
treef7cf5dbcd565a461d4986e0a649f66059f192ca2 /contrib
parentb3afa7a234a23e43b10fc9ca85c8cd7cbf245f48 (diff)
parent6dcc5281a5e8c0e636fcbf5736a3125dd9d14880 (diff)
downloadFreeBSD-src-32ef29176760f859ef551644967b61e579f3ffbd.zip
FreeBSD-src-32ef29176760f859ef551644967b61e579f3ffbd.tar.gz
This commit was generated by cvs2svn to compensate for changes in r152390,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib')
-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 ab736a0..c1dede8 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))
+ if (memcmp(rcvsig, sig, 16) == 0)
return (SIGNATURE_VALID);
else
return (SIGNATURE_INVALID);
OpenPOWER on IntegriCloud