summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.3
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-03-03 12:35:03 +0000
committerdes <des@FreeBSD.org>2003-03-03 12:35:03 +0000
commit66c619c7d8ca78fefc1c7260ba40ae261ae79e8b (patch)
tree974cb3f0e590239d652417eb76c251441678ad92 /lib/libfetch/fetch.3
parent0ae911eb0e57eebb61c50c02ddf69aa67ed19599 (diff)
downloadFreeBSD-src-66c619c7d8ca78fefc1c7260ba40ae261ae79e8b.zip
FreeBSD-src-66c619c7d8ca78fefc1c7260ba40ae261ae79e8b.tar.gz
Add and document support for a FETCH_BIND_ADDRESS environment variable
specifying a local address to bind sockets to. Caveat: lightly tested. PR: bin/37572
Diffstat (limited to 'lib/libfetch/fetch.3')
-rw-r--r--lib/libfetch/fetch.35
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libfetch/fetch.3 b/lib/libfetch/fetch.3
index 540b42f..5bbfa2e 100644
--- a/lib/libfetch/fetch.3
+++ b/lib/libfetch/fetch.3
@@ -444,7 +444,10 @@ Invalid URL
The accompanying error message includes a protocol-specific error code
and message, e.g. "File is not available (404 Not Found)"
.Sh ENVIRONMENT
-.Bl -tag -width FTP_PASSIVE_MODE
+.Bl -tag -width FETCH_BIND_ADDRESS
+.It Ev FETCH_BIND_ADDRESS
+Specifies a hostname or IP address to which sockets used for outgoing
+connections will be bound.
.It Ev FTP_LOGIN
Default FTP login if none was provided in the URL.
.It Ev FTP_PASSIVE_MODE
OpenPOWER on IntegriCloud