From b1736b13d7754c694b1e06f3dda21c98dfd93774 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Sun, 14 Feb 2010 11:31:10 +0000 Subject: [PATCH] Use checksum algorithm 2 as default as it should be faster than 1 on most (if not all) platforms --- src/core/ipv4/inet_chksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ipv4/inet_chksum.c b/src/core/ipv4/inet_chksum.c index e552e290..5fbd3004 100644 --- a/src/core/ipv4/inet_chksum.c +++ b/src/core/ipv4/inet_chksum.c @@ -57,7 +57,7 @@ #ifndef LWIP_CHKSUM # define LWIP_CHKSUM lwip_standard_chksum # ifndef LWIP_CHKSUM_ALGORITHM -# define LWIP_CHKSUM_ALGORITHM 1 +# define LWIP_CHKSUM_ALGORITHM 2 # endif #endif /* If none set: */