chiark / gitweb /
dpkg: Update from 1.18.18 to 1.18.20
[termux-packages] / packages / lftp / src-Resolver.cc.patch
1 Submitted upstream at https://github.com/lavv17/lftp/pull/307
2
3 diff -u -r ../lftp-4.7.5/src/Resolver.cc ./src/Resolver.cc
4 --- ../lftp-4.7.5/src/Resolver.cc       2016-11-25 11:43:16.000000000 -0500
5 +++ ./src/Resolver.cc   2017-01-06 05:52:18.318574544 -0500
6 @@ -318,7 +318,7 @@
7     case AF_INET6:
8        if(sizeof(add.in6.sin6_addr) != len)
9           return;
10 -      if(IN6_IS_ADDR_LINKLOCAL(address) && scope==0) {
11 +      if(IN6_IS_ADDR_LINKLOCAL((const struct in6_addr*)address) && scope==0) {
12          error=_("Link-local IPv6 address should have a scope");
13          return;
14        }