summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));
+