Skip to contentSkip to conversation

DEBUGFTP() in ip_nat_ftp is unresolved symbol

TRIVIAL Filip Sneppe (Cronos) 1 participant 1 message Sep 29, 2002

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

Hi,

ip_conntrack_ftp.c contains a macro DEBUGFTP that is not defined anywhere, it's a typo for DEBUGP.

The reason nobody ever noticed is that it's wrapped inside an #if 0
...
#endif

Patch attached.

Regards,
Filip

net/ipv4/netfilter/ip_conntrack_ftp.c +1 -1
diff -urN -X dontdiff linux-2.4.20-pre8/net/ipv4/netfilter/ip_conntrack_ftp.c linux-2.4.20-pre8-ftpfix/net/ipv4/netfilter/ip_conntrack_ftp.c
@@ -200,7 +200,7 @@
 
 		DEBUGP("ftp: string mismatch\n");
 		for (i = 0; i < plen; i++) {
-			DEBUGFTP("ftp:char %u `%c'(%u) vs `%c'(%u)\n",
+			DEBUGP("ftp:char %u `%c'(%u) vs `%c'(%u)\n",
 				 i, data[i], data[i],
 				 pattern[i], pattern[i]);
 		}