[NETFILTER]: nf_nat: remove broken HOOKNAME macro
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2822b0d926
commit
efbc597634
@@ -32,12 +32,6 @@
|
|||||||
#define DEBUGP(format, args...)
|
#define DEBUGP(format, args...)
|
||||||
#endif
|
#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
|
#ifdef CONFIG_XFRM
|
||||||
static void nat_decode_session(struct sk_buff *skb, struct flowi *fl)
|
static void nat_decode_session(struct sk_buff *skb, struct flowi *fl)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user