nfqws: do not complain if IPV6_FREEBIND not available

This commit is contained in:
bol-van 2022-07-29 08:20:57 +03:00
parent 2b681e4037
commit 04f8f7774d
9 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1027,7 +1027,7 @@ static int rawsend_socket(sa_family_t family)
}
if (family==AF_INET6 && setsockopt(*sock, SOL_IPV6, IPV6_FREEBIND, &yes, sizeof(yes)) == -1)
{
perror("rawsend: setsockopt(IPV6_FREEBIND)");
//perror("rawsend: setsockopt(IPV6_FREEBIND)");
// dont error because it's supported only from kernel 4.15
}
#endif