net/udp: Fix a copy-paste error that could effect networking when both IPv4 and IPv6 are enabled.
This commit is contained in:
parent
ffae9f0251
commit
65c3fa6375
@ -194,7 +194,7 @@ static inline void sendto_ipselect(FAR struct net_driver_s *dev,
|
|||||||
/* Select the IPv6 domain */
|
/* Select the IPv6 domain */
|
||||||
|
|
||||||
DEBUGASSERT(psock->s_domain == PF_INET6);
|
DEBUGASSERT(psock->s_domain == PF_INET6);
|
||||||
udp_ipv4_select(dev);
|
udp_ipv6_select(dev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user