: fixed debug message in ftp module
Subsystems (2)
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.
Signed-off-by Yasuyuki KOZAKAI <[email protected]>
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; }
Patrick McHardy
AppliedQuoted 2 lines · Yasuyuki KOZAKAI
This patch fixes debug message which notifies wrong sequence number.
old_seq_aft_nl_setis no longer used.
Applied, thanks Yasuyuki.
Regards
Patrick