summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-14 17:28:55 +0200
committersven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756>2010-10-14 17:28:55 +0200
commitbba21839e51e65b2bccca107209730990ae0118e (patch)
tree2fc9ecce7ab587271df22b75daf97fcc0b29754f
parent519629978fdf8c5c0ab4b3d8e39475ec89d5c727 (diff)
downloadNPTv6-bba21839e51e65b2bccca107209730990ae0118e.tar
NPTv6-bba21839e51e65b2bccca107209730990ae0118e.zip
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@31 3484d885-4da6-438d-b19d-107d078dd756
-rw-r--r--TODO3
1 files changed, 3 insertions, 0 deletions
diff --git a/TODO b/TODO
index 2cf35cf..4ef2d89 100644
--- a/TODO
+++ b/TODO
@@ -36,3 +36,6 @@ while (c != NEXTHDR_NONE && ip6t_ext_hdr(currenthdr)) {
ptr += hdrlen;
}
+ csum = ~add16(add16(~htons(csum_orig), ~csum16((u_int16_t *)&old, 3)), csum16((u_int16_t *)&new, 3));
+ printf("%04hx normal buf1\n", ntohs(csum));
+