readme: tpws bind-iface6 address type preferance

This commit is contained in:
bol-van 2021-03-05 22:02:39 +03:00
parent 17cddd4016
commit 96af88a51d

View File

@ -505,9 +505,9 @@ static bool find_listen_addr(struct sockaddr_storage *salisten, const char *bind
if (getifaddrs(&addrs)<0) if (getifaddrs(&addrs)<0)
return false; return false;
// for ipv6 preference order // ipv6 preference order
// bind-linklocal-1 : link-local,any // bindll=1 : link-local
// bind-linklocal=0 : private,global,link-local // bindll=0 : private,global,link-local
for(int pass=0;pass<3;pass++) for(int pass=0;pass<3;pass++)
{ {
a = addrs; a = addrs;