All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/2] Fix compile with NAT but without modules
@ 2005-01-23  0:38 Martin Josefsson
  2005-01-24  0:33 ` Patrick McHardy
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Josefsson @ 2005-01-23  0:38 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: Netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 990 bytes --]

Hi Patrick

Here's another patch to fix compile-errors, this time with NAT but
without modules.
There's a missing 'extern' in ip_conntrack_tftp.h

Please submit this patch to davem for inclusion in 2.6.11

Signed-off-by: Martin Josefsson <gandalf@wlug.westbo.se>

diff -X /home/gandalf/dontdiff.ny -urNp linux-2.6.11-rc2.orig/include/linux/netfilter_ipv4/ip_conntrack_tftp.h linux-2.6.11-rc2/include/linux/netfilter_ipv4/ip_conntrack_tftp.h
--- linux-2.6.11-rc2.orig/include/linux/netfilter_ipv4/ip_conntrack_tftp.h	2005-01-22 15:23:45.000000000 +0100
+++ linux-2.6.11-rc2/include/linux/netfilter_ipv4/ip_conntrack_tftp.h	2005-01-23 01:31:25.000000000 +0100
@@ -13,7 +13,7 @@ struct tftphdr {
 #define TFTP_OPCODE_ACK		4
 #define TFTP_OPCODE_ERROR	5
 
-unsigned int (*ip_nat_tftp_hook)(struct sk_buff **pskb,
+extern unsigned int (*ip_nat_tftp_hook)(struct sk_buff **pskb,
 				 enum ip_conntrack_info ctinfo,
 				 struct ip_conntrack_expect *exp);
 

-- 
/Martin

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-25  3:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23  0:38 [PATCH 3/2] Fix compile with NAT but without modules Martin Josefsson
2005-01-24  0:33 ` Patrick McHardy
2005-01-24  4:15   ` David S. Miller
2005-01-25  3:35     ` Rusty Russell

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.