mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-08 01:36:31 +00:00
Revert netutils/netlib: correct ICMPv6 socket create error. This reverts commit 0bcd3b76280ad100b2d0f7d813fa6d970f54b4f4.
This commit is contained in:
parent
2c34489e81
commit
70e7fafaed
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue