From 6090de85e16bb798deb6d63ca066bfc56744bf7d Mon Sep 17 00:00:00 2001 From: sven-ola Date: Sun, 17 Oct 2010 09:04:15 +0000 Subject: git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@53 3484d885-4da6-438d-b19d-107d078dd756 --- TODO | 2 -- ip6t_MAP66.c | 4 +++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index af06487..b89eed6 100644 --- a/TODO +++ b/TODO @@ -3,8 +3,6 @@ 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 -* one map16 function for all cases? - * Implment bit-offset for arbitrary prefix length * Check compat with tcpdump. Linux2.4 needs to copy skb() for that -> oops diff --git a/ip6t_MAP66.c b/ip6t_MAP66.c index b863c1c..dcdea68 100644 --- a/ip6t_MAP66.c +++ b/ip6t_MAP66.c @@ -32,7 +32,9 @@ static inline u_int16_t add16( } /* Calc one's complement csum */ -static inline u_int16_t csum16(const u_int16_t *buf, int len) +static inline u_int16_t csum16( + const u_int16_t *buf, + int len) { u_int16_t csum = 0; while(len--) csum = add16(csum, *buf++); -- cgit v1.2.3