aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/ipfilter/netinet
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-09-25 00:00:20 +0000
committerCy Schubert <cy@FreeBSD.org>2021-09-27 18:13:50 +0000
commitdf38343e71304169ebca0e4c4fa24b339982d7be (patch)
treef56a7f4d7bd0043382bdabf6df62dd92e013092c /sys/contrib/ipfilter/netinet
parent93b14194acaf2c2d80df9c4900a90c6644dcd92b (diff)
downloadsrc-df38343e71304169ebca0e4c4fa24b339982d7be.tar.gz
src-df38343e71304169ebca0e4c4fa24b339982d7be.zip
ipfilter: Print the correct TCP sequence index number
TCP sequence numbers in the FTP proxy are maintained in a two dimensional array. The debug message prints the same seq[N] for both. Fix that. MFC after: 3 days
Diffstat (limited to 'sys/contrib/ipfilter/netinet')
-rw-r--r--sys/contrib/ipfilter/netinet/ip_ftp_pxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c b/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c
index c4ee0ef593df..f4b40f3601d9 100644
--- a/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c
+++ b/sys/contrib/ipfilter/netinet/ip_ftp_pxy.c
@@ -1415,7 +1415,7 @@ ipf_p_ftp_process(softf, fin, nat, ftp, rv)
printf("%s:seq[0](%u) + (%d) != (%u)\n",
"ipf_p_ftp_process", t->ftps_seq[0],
ackoff, thack);
- printf("%s:seq[0](%u) + (%d) != (%u)\n",
+ printf("%s:seq[1](%u) + (%d) != (%u)\n",
"ipf_p_ftp_process", t->ftps_seq[1],
ackoff, thack);
}