summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-05-25 15:27:31 +0000
committerume <ume@FreeBSD.org>2000-05-25 15:27:31 +0000
commit80af27a32a71e56e854019c5397f1c10daa98bf9 (patch)
treeaecdc5d82c84fc4d720a9b14e9440058b0b89f6f /usr.bin/ftp
parent5ba5b0230b9c150e5197736fce6e8c2586206c46 (diff)
downloadFreeBSD-src-80af27a32a71e56e854019c5397f1c10daa98bf9.zip
FreeBSD-src-80af27a32a71e56e854019c5397f1c10daa98bf9.tar.gz
Don't pass scope-id to EPRT command.
Reviewed by: sumikawa
Diffstat (limited to 'usr.bin/ftp')
-rw-r--r--usr.bin/ftp/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/ftp/ftp.c b/usr.bin/ftp/ftp.c
index 6e0e7d2..a4c350f 100644
--- a/usr.bin/ftp/ftp.c
+++ b/usr.bin/ftp/ftp.c
@@ -1463,7 +1463,7 @@ noport:
if (getnameinfo((struct sockaddr *)daddr,
daddr->su_len, hname,
sizeof(hname) - 1, NULL, 0,
- NI_NUMERICHOST|NI_WITHSCOPEID)) {
+ NI_NUMERICHOST)) {
result = ERROR;
} else {
result = command("EPRT |%d|%s|%d|",
OpenPOWER on IntegriCloud