The ENDPTS_EQ macro was comparing the one of the fports to itself. Fix.

Submitted by: emy@boostworks.com
This commit is contained in:
Jonathan Lemon 2002-01-22 17:54:28 +00:00
parent a1a9c8f7e6
commit d9b7cc1c8d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=89667

View file

@ -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 \