Commit df38343e authored by Cy Schubert's avatar Cy Schubert
Browse files

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
parent 93b14194
...@@ -1415,7 +1415,7 @@ ipf_p_ftp_process(softf, fin, nat, ftp, rv) ...@@ -1415,7 +1415,7 @@ ipf_p_ftp_process(softf, fin, nat, ftp, rv)
printf("%s:seq[0](%u) + (%d) != (%u)\n", printf("%s:seq[0](%u) + (%d) != (%u)\n",
"ipf_p_ftp_process", t->ftps_seq[0], "ipf_p_ftp_process", t->ftps_seq[0],
ackoff, thack); 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], "ipf_p_ftp_process", t->ftps_seq[1],
ackoff, thack); ackoff, thack);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment