mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
nfqws: do not complain if IPV6_FREEBIND not available
This commit is contained in:
parent
2b681e4037
commit
04f8f7774d
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.
@ -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)
|
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
|
// dont error because it's supported only from kernel 4.15
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user