OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2822b0d
)
[NETFILTER]: nf_nat: remove broken HOOKNAME macro
author
Patrick McHardy
<kaber@trash.net>
Wed, 7 Feb 2007 23:07:08 +0000
(15:07 -0800)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:12 +0000
(12:39 -0800)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/nf_nat_standalone.c
patch
|
blob
|
history
diff --git
a/net/ipv4/netfilter/nf_nat_standalone.c
b/net/ipv4/netfilter/nf_nat_standalone.c
index
00d6dea
..
5a964a1
100644
(file)
--- a/
net/ipv4/netfilter/nf_nat_standalone.c
+++ b/
net/ipv4/netfilter/nf_nat_standalone.c
@@
-32,12
+32,6
@@
#define DEBUGP(format, args...)
#endif
-#define HOOKNAME(hooknum) ((hooknum) == NF_IP_POST_ROUTING ? "POST_ROUTING" \
- : ((hooknum) == NF_IP_PRE_ROUTING ? "PRE_ROUTING" \
- : ((hooknum) == NF_IP_LOCAL_OUT ? "LOCAL_OUT" \
- : ((hooknum) == NF_IP_LOCAL_IN ? "LOCAL_IN" \
- : "*ERROR*")))
-
#ifdef CONFIG_XFRM
static void nat_decode_session(struct sk_buff *skb, struct flowi *fl)
{