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

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

parent ffae9f02
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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