Revert netutils/netlib: correct ICMPv6 socket create error. This reverts commit 0bcd3b76280ad100b2d0f7d813fa6d970f54b4f4.
This commit is contained in:
parent
2c34489e81
commit
70e7fafaed
@ -80,7 +80,7 @@ int netlib_icmpv6_autoconfiguration(FAR const char *ifname)
|
||||
{
|
||||
/* 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)
|
||||
{
|
||||
/* Create a request consisting only of the interface name */
|
||||
|
Loading…
Reference in New Issue
Block a user