summaryrefslogtreecommitdiffstats
path: root/usr.bin/ftp/extern.h
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-02-15 15:11:40 +0000
committershin <shin@FreeBSD.org>2000-02-15 15:11:40 +0000
commitc83f0a97bdc03cca93e16e1bc2758c713aef5fdf (patch)
tree04189aeeb90e88a6a240f49392fa61d89316107a /usr.bin/ftp/extern.h
parent6768336e3b66310544efe8dbe769fdda673c93f8 (diff)
downloadFreeBSD-src-c83f0a97bdc03cca93e16e1bc2758c713aef5fdf.zip
FreeBSD-src-c83f0a97bdc03cca93e16e1bc2758c713aef5fdf.tar.gz
Add -4 and -6 options.
Current getaddrinfo() implemetation has a problem of too much resolving waiting time on INET6 enabled systems. -4 and -6 options can limit name resolving address family and is a possible workaround for the problem. Approved by: jkh
Diffstat (limited to 'usr.bin/ftp/extern.h')
-rw-r--r--usr.bin/ftp/extern.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/ftp/extern.h b/usr.bin/ftp/extern.h
index 7841f7b..278be80 100644
--- a/usr.bin/ftp/extern.h
+++ b/usr.bin/ftp/extern.h
@@ -165,6 +165,7 @@ extern struct cmd cmdtab[];
extern FILE *cout;
extern int data;
extern char *home;
+extern int family;
extern int proxy;
extern char reply_string[];
extern int NCMDS;
OpenPOWER on IntegriCloud