Skip to contentSkip to conversation

: fixed debug message in ftp module

PATCH Applied Yasuyuki KOZAKAI 2 participants 2 messages Mar 9, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : fixed debug message in ftp module

This patch fixes debug message which notifies wrong sequence number. old_seq_aft_nl_set is no longer used.

Regards,

-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <[email protected]>

net/ipv4/netfilter/ip_conntrack_ftp.c +4 -2
@@ -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;
 	}
#1 lore raw
Quoted 2 lines · Yasuyuki KOZAKAI

This patch fixes debug message which notifies wrong sequence number. old_seq_aft_nl_set is no longer used.

Applied, thanks Yasuyuki.

Regards
Patrick