Fix error just introduces into recvfrom. From Macs N.

This commit is contained in:
Gregory Nutt 2015-01-30 08:22:44 -06:00
parent b480e5574e
commit f357ba6c80

View File

@ -424,10 +424,10 @@ static inline void recvfrom_udpreadahead(struct recvfrom_s *pstate)
if ( 0
#ifdef CONFIG_NET_IPv6
|| src_addr_size == 16
|| src_addr_size == sizeof(struct sockaddr_in6)
#endif
#ifdef CONFIG_NET_IPv4
|| src_addr_size == 4
|| src_addr_size == sizeof(struct sockaddr_in)
#endif
)
{