Skip to content
Snippets Groups Projects
Commit 0eee0f22 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

Networking: IPv4 getsockname(): Fix a typo that can cause a compile error.

parent b248a6b7
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ CONFIG_ARMV7M_TOOLCHAIN_CODESOURCERYW=y
CONFIG_BOARD_LOOPSPERMSEC=5483
CONFIG_BUILTIN=y
CONFIG_ETH0_PHY_DP83848C=y
CONFIG_FS_PROCFS=y
CONFIG_EXAMPLES_NSH=y
CONFIG_HOST_WINDOWS=y
CONFIG_INTELHEX_BINARY=y
......
......@@ -112,7 +112,7 @@ int ipv4_getsockname(FAR struct socket *psock, FAR struct sockaddr *addr,
outaddr->sin_port = tcp_conn->lport; /* Already in network byte order */
lipaddr = tcp_conn->u.ipv4.laddr;
ripaddri = tcp_conn->u.ipv4.raddr;
ripaddr = tcp_conn->u.ipv4.raddr;
}
break;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment