mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 06:42:34 +00:00
readme: tpws bind-iface6 address type preferance
This commit is contained in:
parent
17cddd4016
commit
96af88a51d
@ -505,9 +505,9 @@ static bool find_listen_addr(struct sockaddr_storage *salisten, const char *bind
|
||||
if (getifaddrs(&addrs)<0)
|
||||
return false;
|
||||
|
||||
// for ipv6 preference order
|
||||
// bind-linklocal-1 : link-local,any
|
||||
// bind-linklocal=0 : private,global,link-local
|
||||
// ipv6 preference order
|
||||
// bindll=1 : link-local
|
||||
// bindll=0 : private,global,link-local
|
||||
for(int pass=0;pass<3;pass++)
|
||||
{
|
||||
a = addrs;
|
||||
|
Loading…
Reference in New Issue
Block a user