mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
net/udp: Fix a copy-paste error that could effect networking when both IPv4 and IPv6 are enabled.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user