From 0fe2de84955574555df6fa3959c1e41b87e9c86e Mon Sep 17 00:00:00 2001 From: sven-ola Date: Fri, 15 Oct 2010 07:19:11 +0000 Subject: git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@38 3484d885-4da6-438d-b19d-107d078dd756 --- ip6t_MAP66.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 : "", -- cgit v1.2.3