aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/ftp
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2000-05-25 15:27:31 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2000-05-25 15:27:31 +0000
commit9ba97db25b5ec2f81e5e4f5f997cbfec2176fdb4 (patch)
treef6d581953939651918b14f938b92bc325e36d261 /usr.bin/ftp
parent7009672a8a528ba26d5bf70bcb353676c400d56e (diff)
downloadsrc-9ba97db25b5ec2f81e5e4f5f997cbfec2176fdb4.tar.gz
src-9ba97db25b5ec2f81e5e4f5f997cbfec2176fdb4.zip
Don't pass scope-id to EPRT command.
Reviewed by: sumikawa
Notes
Notes: svn path=/head/; revision=60920
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 6e0e7d2f6478..a4c350fac774 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|",