mirror of
https://github.com/apache/nuttx.git
synced 2026-08-09 22:45:08 +00:00
Networking: Fix compilation error if IPv6 is enabled
This commit is contained in:
parent
deb46613d7
commit
ed9c45bcef
1 changed files with 1 additions and 0 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue