Networking: IPv4 getsockname(): Fix a typo that can cause a compile error.
This commit is contained in:
parent
b248a6b72b
commit
0eee0f22cd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user