From b60cc949b6757fc3c76b3a9a7e52de8c36086fc0 Mon Sep 17 00:00:00 2001 From: sven-ola Date: Thu, 14 Oct 2010 11:31:12 +0000 Subject: git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@29 3484d885-4da6-438d-b19d-107d078dd756 --- TODO | 5 ++++- ip6t_MAP66.c | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 08d03e4..796c918 100644 --- a/TODO +++ b/TODO @@ -3,4 +3,7 @@ the salt can be added e.g. when restarting router/iptables or may be generated f a particular host once. Purpose: hide MAC addresses behind the address mapping gateway -Check compat with tcpdump. Linux2.4 needs to copy skb() for that, but it oopses \ No newline at end of file +Check compat with tcpdump. Linux2.4 needs to copy skb() for that, but it oopses + +Update csum, see http://www.firstpr.com.au/ip/ivip/checksums/ and +http://www.faqs.org/rfcs/rfc1624.html \ No newline at end of file diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c index 6060871..9491226 100644 --- a/ip6t_MAP66.c +++ b/ip6t_MAP66.c @@ -69,8 +69,8 @@ static void map16( #endif #ifndef NIP6_FMT -#define NIP6_FMT "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x" -#define NIP6(addr) \ +# define NIP6_FMT "%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x" +# define NIP6(addr) \ ntohs((addr).s6_addr16[0]), \ ntohs((addr).s6_addr16[1]), \ ntohs((addr).s6_addr16[2]), \ -- cgit v1.2.3