From 96af88a51d7d5e695a2b56523ea1f8392a786748 Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 5 Mar 2021 22:02:39 +0300 Subject: [PATCH] readme: tpws bind-iface6 address type preferance --- tpws/tpws.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tpws/tpws.c b/tpws/tpws.c index 7ebf57b..730a6ea 100644 --- a/tpws/tpws.c +++ b/tpws/tpws.c @@ -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;