Networking: Fix compilation error if IPv6 is enabled

This commit is contained in:
Gregory Nutt 2015-06-17 15:00:04 -06:00
parent deb46613d7
commit ed9c45bcef

View File

@ -223,6 +223,7 @@ int ipv6_getsockname(FAR struct socket *psock, FAR struct sockaddr *addr,
net_ipv6addr_t *lipaddr;
net_ipv6addr_t *ripaddr;
#endif
net_lock_t save;
/* Check if enough space has been provided for the full address */