[netfilter-cvslog] r3778 -
trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/netfilter
yasuyuki at netfilter.org
yasuyuki at netfilter.org
Thu Mar 10 17:07:52 CET 2005
Author: yasuyuki at netfilter.org
Date: 2005-03-10 17:07:52 +0100 (Thu, 10 Mar 2005)
New Revision: 3778
Modified:
trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/netfilter/nf_conntrack_ftp.c
Log:
This patch fixes debug message which notifies wrong sequence number.
old_seq_aft_nl_set is no longer used.
Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozkaai at toshiba.co.jp>
Modified: trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/netfilter/nf_conntrack_ftp.c
===================================================================
--- trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/netfilter/nf_conntrack_ftp.c 2005-03-10 12:22:35 UTC (rev 3777)
+++ trunk/patch-o-matic-ng/nf_conntrack/linux-2.6/net/netfilter/nf_conntrack_ftp.c 2005-03-10 16:07:52 UTC (rev 3778)
@@ -475,8 +475,10 @@
if (!find_nl_seq(ntohl(th->seq), ct_ftp_info, dir)) {
/* Now if this ends in \n, update ftp info. */
DEBUGP("nf_conntrack_ftp_help: wrong seq pos %s(%u) or %s(%u)\n",
- ct_ftp_info->seq_aft_nl[0][dir]
- old_seq_aft_nl_set ? "":"(UNSET) ", old_seq_aft_nl);
+ ct_ftp_info->seq_aft_nl_num[dir] > 0 ? "" : "(UNSET)",
+ ct_ftp_info->seq_aft_nl[dir][0],
+ ct_ftp_info->seq_aft_nl_num[dir] > 1 ? "" : "(UNSET)",
+ ct_ftp_info->seq_aft_nl[dir][1]);
ret = NF_ACCEPT;
goto out_update_nl;
}
More information about the netfilter-cvslog
mailing list