mirror of
https://github.com/opnsense/src.git
synced 2026-04-04 00:45:17 -04:00
Use proper byteswap macro. This isn't a functional change.
This commit is contained in:
parent
6213882769
commit
399fbd0ec0
1 changed files with 1 additions and 1 deletions
|
|
@ -1530,7 +1530,7 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, void *vip)
|
|||
if (!(inp->inp_flags & INP_TIMEWAIT) &&
|
||||
!(inp->inp_flags & INP_DROPPED) &&
|
||||
!(inp->inp_socket == NULL)) {
|
||||
icmp_tcp_seq = htonl(th->th_seq);
|
||||
icmp_tcp_seq = ntohl(th->th_seq);
|
||||
tp = intotcpcb(inp);
|
||||
if (SEQ_GEQ(icmp_tcp_seq, tp->snd_una) &&
|
||||
SEQ_LT(icmp_tcp_seq, tp->snd_max)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue