diff options
author | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-15 09:19:11 +0200 |
---|---|---|
committer | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-15 09:19:11 +0200 |
commit | 0fe2de84955574555df6fa3959c1e41b87e9c86e (patch) | |
tree | 0b2c05285840beb42d6aad253824153590706a28 | |
parent | cc4dcaf603e544309fbbb27c6c21ec547f6a1d09 (diff) | |
download | NPTv6-0fe2de84955574555df6fa3959c1e41b87e9c86e.tar NPTv6-0fe2de84955574555df6fa3959c1e41b87e9c86e.zip |
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@38 3484d885-4da6-438d-b19d-107d078dd756
-rw-r--r-- | ip6t_MAP66.c | 4 |
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 : "", |