From 7f2c2629194ec04937658afe3ebf92ded3ab4a12 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 23 Jan 2015 09:31:44 -0600 Subject: Networking: UDP checksums must always be used with IPv6 --- nuttx/net/udp/Kconfig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nuttx/net/udp/Kconfig b/nuttx/net/udp/Kconfig index d52f4f7a2..68a80bced 100644 --- a/nuttx/net/udp/Kconfig +++ b/nuttx/net/udp/Kconfig @@ -16,9 +16,11 @@ if NET_UDP config NET_UDP_CHECKSUMS bool "UDP checksums" - default n + default y if NET_IPv6 + default n if !NET_IPv6 ---help--- - Enable/disable UDP checksum support + Enable/disable UDP checksum support. UDP checksum support is + REQUIRED for IPv6. config NET_UDP_CONNS int "Number of UDP sockets" -- cgit v1.2.3