Revert netutils/netlib: correct ICMPv6 socket create error. This reverts commit 0bcd3b76280ad100b2d0f7d813fa6d970f54b4f4.

This commit is contained in:
Xiang Xiao 2019-09-20 12:47:04 -06:00 committed by Gregory Nutt
parent 2c34489e81
commit 70e7fafaed

View File

@ -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 */