Fix a compile error when IPv6 is enabled

This commit is contained in:
Gregory Nutt 2015-09-07 16:34:25 -06:00
parent cb2f84e288
commit d700793077
2 changed files with 2 additions and 2 deletions

2
arch

@ -1 +1 @@
Subproject commit ed8f6a71d4014833fa25882aeca664aafdc8774d
Subproject commit 239102436188022a043042e3b6251b5eb891084d

View File

@ -278,7 +278,7 @@ int tcp_local_ipv6_device(FAR struct tcp_conn_s *conn)
#ifdef CONFIG_NET_IPv6
int tcp_remote_ipv6_device(FAR struct tcp_conn_s *conn)
{
return int tcp_find_ipv6_device(conn, conn->u.ipv6.raddr);
return tcp_find_ipv6_device(conn, conn->u.ipv6.raddr);
}
#endif /* CONFIG_NET_IPv6 */