aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-09-25 00:00:20 +0000
committerCy Schubert <cy@FreeBSD.org>2021-10-01 16:12:51 +0000
commit4f2d5aa364c4e45727760f767be62ec4d81fdef7 (patch)
tree6945c3e90a960416328afef09c590e7749f29add
parent0b72f4c82af8fe86cfc1034a16661430430f6f42 (diff)
downloadsrc-4f2d5aa364c4e45727760f767be62ec4d81fdef7.tar.gz
src-4f2d5aa364c4e45727760f767be62ec4d81fdef7.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. (cherry picked from commit df38343e71304169ebca0e4c4fa24b339982d7be)
-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);
}