From a8848517dd4bd462d71345c71ade21fcd77bb611 Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Sun, 24 Oct 2010 22:28:43 +0000 Subject: [PATCH] UDP checksum is mandatory with IPv6. (Patch by Robert Quattlebaum.) --- core/net/uipopt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/net/uipopt.h b/core/net/uipopt.h index 06bc65e06..225ec0e68 100644 --- a/core/net/uipopt.h +++ b/core/net/uipopt.h @@ -58,7 +58,7 @@ * * This file is part of the uIP TCP/IP stack. * - * $Id: uipopt.h,v 1.11 2009/04/10 00:37:48 adamdunkels Exp $ + * $Id: uipopt.h,v 1.12 2010/10/24 22:28:43 adamdunkels Exp $ * */ @@ -258,7 +258,7 @@ #ifdef UIP_CONF_UDP_CHECKSUMS #define UIP_UDP_CHECKSUMS UIP_CONF_UDP_CHECKSUMS #else -#define UIP_UDP_CHECKSUMS 0 +#define UIP_UDP_CHECKSUMS UIP_CONF_IPV6 #endif /**