summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-23 09:31:44 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-23 09:31:44 -0600
commit7f2c2629194ec04937658afe3ebf92ded3ab4a12 (patch)
tree06af1ddfa0cab4e445dfd9c09efb66b04aa2ca97
parente4fe5b55da43d101fefc853874878f258e97bd42 (diff)
downloadnuttx-7f2c2629194ec04937658afe3ebf92ded3ab4a12.tar.gz
nuttx-7f2c2629194ec04937658afe3ebf92ded3ab4a12.tar.bz2
nuttx-7f2c2629194ec04937658afe3ebf92ded3ab4a12.zip
Networking: UDP checksums must always be used with IPv6
-rw-r--r--nuttx/net/udp/Kconfig6
1 files 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"