From: Rik Bobbaers <Rik.Bobbaers@cc.kuleuven.be>
To: linux-kernel@vger.kernel.org
Subject: fix compiler warning in ip_nat_standalone.c
Date: Thu, 11 May 2006 17:29:48 +0200 [thread overview]
Message-ID: <200605111729.48871.Rik.Bobbaers@cc.kuleuven.be> (raw)
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
next reply other threads:[~2006-05-11 15:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 15:29 Rik Bobbaers [this message]
2006-05-11 15:55 ` fix compiler warning in ip_nat_standalone.c 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200605111729.48871.Rik.Bobbaers@cc.kuleuven.be \
--to=rik.bobbaers@cc.kuleuven.be \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).