summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ip6t_MAP66.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c
index b6272c3..b586792 100644
--- a/ip6t_MAP66.c
+++ b/ip6t_MAP66.c
@@ -51,7 +51,7 @@ static void map16(
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
# define rcu_dereference(p) p
# define ipv6_addr_equal(a, b) 0 == ipv6_addr_cmp(a, b)
-# define ipv6_hdr(sbk) skb->nh.ipv6h
+# define ipv6_hdr(skb) skb->nh.ipv6h
# ifndef bool
# define bool int
# define false 0
@@ -126,6 +126,8 @@ static unsigned int MAP66_tg6(
struct ipv6hdr *hdr = ipv6_hdr(skb);
const struct ip6t_MAP66_info *info = par->targinfo;
+ pr_devel("MAP66: hdr=%p, mac=%p, network=%p, transport=%p\n", hdr, skb_mac_header(skb), skb_network_header(skb), skb_transport_header(skb));
+
pr_devel("MAP66: enter in=%s, out=%s, saddr=" NIP6_FMT ", daddr=" NIP6_FMT "\n",
NULL != par->in ? par->in->name : "",
NULL != par->out ? par->out->name : "",