summaryrefslogtreecommitdiff
path: root/net/inet.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/inet.c')
-rw-r--r--net/inet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/inet.c b/net/inet.c
index f7cc2a6..67895d5 100644
--- a/net/inet.c
+++ b/net/inet.c
@@ -21,7 +21,8 @@ uint16_t checksum(void *addr, int count)
while( count > 1 ) {
/* This is the inner loop */
- sum += ntohs(* ptr++);
+ //sum += ntohs(* ptr++);
+ sum += *ptr++;
count -= 2;
}