net/udp: Fix a copy-paste error that could effect networking when both IPv4 and IPv6 are enabled.

This commit is contained in:
Gregory Nutt 2017-07-05 07:27:17 -06:00
parent ffae9f0251
commit 65c3fa6375

View File

@ -194,7 +194,7 @@ static inline void sendto_ipselect(FAR struct net_driver_s *dev,
/* Select the IPv6 domain */
DEBUGASSERT(psock->s_domain == PF_INET6);
udp_ipv4_select(dev);
udp_ipv6_select(dev);
}
}
#endif