summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/net/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/net/udp.h')
-rw-r--r--nuttx/include/nuttx/net/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/net/udp.h b/nuttx/include/nuttx/net/udp.h
index b8c1c9b0e..4b2d305d6 100644
--- a/nuttx/include/nuttx/net/udp.h
+++ b/nuttx/include/nuttx/net/udp.h
@@ -69,7 +69,7 @@
#endif
#ifdef CONFIG_NET_IPv6
-# define IPv6UDP_HDRLEN (UDP_HDRLEN + IPv4_HDRLEN) /* Size of IPv6 + UDP headers */
+# define IPv6UDP_HDRLEN (UDP_HDRLEN + IPv6_HDRLEN) /* Size of IPv6 + UDP headers */
#endif
/****************************************************************************