summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/net/socket/sendto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/net/socket/sendto.c b/nuttx/net/socket/sendto.c
index a0350f11a..02cb92929 100644
--- a/nuttx/net/socket/sendto.c
+++ b/nuttx/net/socket/sendto.c
@@ -162,7 +162,7 @@ ssize_t psock_sendto(FAR struct socket *psock, FAR const void *buf,
break;
#endif
-#ifdef CONFIG_NET_IPv6
+#ifdef CONFIG_NET_LOCAL
case AF_LOCAL:
minlen = sizeof(sa_family_t);
break;