summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2015-01-29 10:08:16 -0600
committerGregory Nutt <gnutt@nuttx.org>2015-01-29 10:08:16 -0600
commit6067114cee5f60cdec59a0c8e92e3a8656418166 (patch)
tree399e8610cf30f245aca670b98f77b197339b0c15 /nuttx
parent63d346326244a2f93f93fb51925fdef980af76a0 (diff)
downloadpx4-nuttx-6067114cee5f60cdec59a0c8e92e3a8656418166.tar.gz
px4-nuttx-6067114cee5f60cdec59a0c8e92e3a8656418166.tar.bz2
px4-nuttx-6067114cee5f60cdec59a0c8e92e3a8656418166.zip
Fix typo in conditional compilation
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;