diff options
Diffstat (limited to 'lib/libfetch')
-rw-r--r-- | lib/libfetch/ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/ftp.c b/lib/libfetch/ftp.c index e703a01..b08dd30 100644 --- a/lib/libfetch/ftp.c +++ b/lib/libfetch/ftp.c @@ -648,6 +648,7 @@ _ftp_transfer(conn_t *conn, const char *oper, const char *file, #define UC(b) (((int)b)&0xff) e = -1; sin6 = (struct sockaddr_in6 *)&sa; + sin6->sin6_scope_id = 0; if (getnameinfo((struct sockaddr *)&sa, sa.ss_len, hname, sizeof(hname), NULL, 0, NI_NUMERICHOST) == 0) { |