* [PATCH]: fixed debug message in ftp module
@ 2005-03-09 21:28 Yasuyuki KOZAKAI
2005-03-09 21:35 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Yasuyuki KOZAKAI @ 2005-03-09 21:28 UTC (permalink / raw)
To: netfilter-devel
[-- Attachment #1: Type: Text/Plain, Size: 318 bytes --]
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@toshiba.co.jp>
Regards,
-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai@toshiba.co.jp>
[-- Attachment #2: ct_ftp_dmsg.patch --]
[-- Type: Text/Plain, Size: 754 bytes --]
--- linux-2.6.11/net/ipv4/netfilter/ip_conntrack_ftp.c 2005-03-10 05:46:42.000000000 +0900
+++ linux-2.6.11-fixed/net/ipv4/netfilter/ip_conntrack_ftp.c 2005-03-10 05:48:22.000000000 +0900
@@ -331,8 +331,10 @@
if (!find_nl_seq(ntohl(th->seq), ct_ftp_info, dir)) {
/* Now if this ends in \n, update ftp info. */
DEBUGP("ip_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;
}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH]: fixed debug message in ftp module
2005-03-09 21:28 [PATCH]: fixed debug message in ftp module Yasuyuki KOZAKAI
@ 2005-03-09 21:35 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2005-03-09 21:35 UTC (permalink / raw)
To: Yasuyuki KOZAKAI; +Cc: netfilter-devel
Yasuyuki KOZAKAI wrote:
> This patch fixes debug message which notifies wrong sequence number.
> old_seq_aft_nl_set is no longer used.
Applied, thanks Yasuyuki.
Regards
Patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-09 21:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-09 21:28 [PATCH]: fixed debug message in ftp module Yasuyuki KOZAKAI
2005-03-09 21:35 ` Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.