mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 12:55:43 +08:00
Revert netutils/netlib: correct ICMPv6 socket create error. This reverts commit 0bcd3b76280ad100b2d0f7d813fa6d970f54b4f4.
This commit is contained in:
@@ -80,7 +80,7 @@ int netlib_icmpv6_autoconfiguration(FAR const char *ifname)
|
|||||||
{
|
{
|
||||||
/* Get an IPv6 socket */
|
/* Get an IPv6 socket */
|
||||||
|
|
||||||
int sockfd = socket(PF_INET6, NETLIB_SOCK_TYPE, IPPROTO_ICMP6);
|
int sockfd = socket(PF_INET6, NETLIB_SOCK_TYPE, 0);
|
||||||
if (sockfd >= 0)
|
if (sockfd >= 0)
|
||||||
{
|
{
|
||||||
/* Create a request consisting only of the interface name */
|
/* Create a request consisting only of the interface name */
|
||||||
|
Reference in New Issue
Block a user