diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /net-ftp/lftp/files | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'net-ftp/lftp/files')
-rw-r--r-- | net-ftp/lftp/files/lftp-4.9.0-ipv6.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/net-ftp/lftp/files/lftp-4.9.0-ipv6.patch b/net-ftp/lftp/files/lftp-4.9.0-ipv6.patch new file mode 100644 index 000000000000..2c02ce5e787b --- /dev/null +++ b/net-ftp/lftp/files/lftp-4.9.0-ipv6.patch @@ -0,0 +1,18 @@ +--- a/src/ftpclass.cc ++++ b/src/ftpclass.cc +@@ -848,6 +848,7 @@ Ftp::pasv_state_t Ftp::Handle_EPSV_CEPR() + conn->data_sa.in.sin_port=htons(port); + conn->data_sa.sa.sa_family=AF_INET; + } ++#if INET6 + // V6 / AF_INET6 + else if (proto == 2) + { +@@ -855,6 +856,7 @@ Ftp::pasv_state_t Ftp::Handle_EPSV_CEPR() + conn->data_sa.in6.sin6_port=htons(port); + conn->data_sa.sa.sa_family=AF_INET6; + } ++#endif + else + { + Disconnect("unsupported address family"); |