diff options
author | jlemon <jlemon@FreeBSD.org> | 2002-01-22 17:54:28 +0000 |
---|---|---|
committer | jlemon <jlemon@FreeBSD.org> | 2002-01-22 17:54:28 +0000 |
commit | a7b593e6c97be28f18268e255dd46fea6d1d85b1 (patch) | |
tree | 3dcaf84d3a616508b649a3d9d5e57409e2b8b489 | |
parent | 864702ba0c8407c0db9c52c517dc6571d1b09cbc (diff) | |
download | FreeBSD-src-a7b593e6c97be28f18268e255dd46fea6d1d85b1.zip FreeBSD-src-a7b593e6c97be28f18268e255dd46fea6d1d85b1.tar.gz |
The ENDPTS_EQ macro was comparing the one of the fports to itself. Fix.
Submitted by: emy@boostworks.com
-rw-r--r-- | sys/netinet/tcp_syncache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c index bf6432b..668573c 100644 --- a/sys/netinet/tcp_syncache.c +++ b/sys/netinet/tcp_syncache.c @@ -160,7 +160,7 @@ static MALLOC_DEFINE(M_SYNCACHE, "syncache", "TCP syncache"); (inc)->inc_fport ^ (inc)->inc_lport) & mask) #define ENDPTS_EQ(a, b) ( \ - (a)->ie_fport == (a)->ie_fport && \ + (a)->ie_fport == (b)->ie_fport && \ (a)->ie_lport == (b)->ie_lport && \ (a)->ie_faddr.s_addr == (b)->ie_faddr.s_addr && \ (a)->ie_laddr.s_addr == (b)->ie_laddr.s_addr \ |