public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* fix compiler warning in ip_nat_standalone.c
@ 2006-05-11 15:29 Rik Bobbaers
  2006-05-11 15:55 ` Jörn Engel
  2006-05-11 16:14 ` Adrian Bunk
  0 siblings, 2 replies; 8+ messages in thread
From: Rik Bobbaers @ 2006-05-11 15:29 UTC (permalink / raw)
  To: linux-kernel

hey all,

i just made small patch that fixes a compiler warning:

--- net/ipv4/netfilter/ip_nat_standalone.c~	2006-05-11 03:56:24.000000000 
+0200
+++ net/ipv4/netfilter/ip_nat_standalone.c	2006-05-11 17:17:22.000000000 +0200
@@ -219,8 +219,10 @@ ip_nat_out(unsigned int hooknum,
 	   const struct net_device *out,
 	   int (*okfn)(struct sk_buff *))
 {
+#ifdef CONFIG_XFRM
 	struct ip_conntrack *ct;
 	enum ip_conntrack_info ctinfo;
+#endif
 	unsigned int ret;
 
 	/* root is playing with raw sockets. */

or at http://harry.ulyssis.org/ip_nat.diff

-- 
harry
aka Rik Bobbaers

K.U.Leuven - LUDIT          -=- Tel: +32 485 52 71 50
Rik.Bobbaers@cc.kuleuven.be -=- http://harry.ulyssis.org

"Work hard and do your best, it'll make it easier for the rest"
-- Garfield

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm


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

end of thread, other threads:[~2006-05-11 18:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-11 15:29 fix compiler warning in ip_nat_standalone.c Rik Bobbaers
2006-05-11 15:55 ` Jörn Engel
2006-05-11 16:14   ` Alexey Dobriyan
2006-05-11 16:18   ` Al Viro
2006-05-11 18:35     ` Jörn Engel
2006-05-11 16:49   ` Rik Bobbaers
2006-05-11 18:30     ` Jörn Engel
2006-05-11 16:14 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox