9d7d3f
From 853653f4958e73bfd90a74a3ca910484ff86d9b0 Mon Sep 17 00:00:00 2001
9d7d3f
From: Kamil Dudka <kdudka@redhat.com>
9d7d3f
Date: Fri, 12 Feb 2016 18:39:57 +0100
9d7d3f
Subject: [PATCH] curl.1: --disable-{eprt,epsv} are ignored for IPv6 hosts
9d7d3f
9d7d3f
The behavior has been clarified in CURLOPT_FTP_USE_{EPRT,EPSV}.3 man
9d7d3f
pages since curl-7_12_3~131.  This patch makes it clear in the curl.1
9d7d3f
man page, too.
9d7d3f
9d7d3f
Bug: https://bugzilla.redhat.com/1305970
9d7d3f
9d7d3f
Upstream-commit: 4ef6b2d6c60824d7c598a4ca8a70f0ef4fa3d443
9d7d3f
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
9d7d3f
---
9d7d3f
 docs/curl.1 | 6 ++++++
9d7d3f
 1 file changed, 6 insertions(+)
9d7d3f
9d7d3f
diff --git a/docs/curl.1 b/docs/curl.1
9d7d3f
index d1675a0..ad26007 100644
9d7d3f
--- a/docs/curl.1
9d7d3f
+++ b/docs/curl.1
9d7d3f
@@ -357,6 +357,9 @@ the traditional PORT command.
9d7d3f
 \fB--eprt\fP can be used to explicitly enable EPRT again and \fB--no-eprt\fP
9d7d3f
 is an alias for \fB--disable-eprt\fP.
9d7d3f
 
9d7d3f
+If the server is an IPv6 host, this option will have no effect as EPRT is
9d7d3f
+necessary then.
9d7d3f
+
9d7d3f
 Disabling EPRT only changes the active behavior. If you want to switch to
9d7d3f
 passive mode you need to not use \fI-P, --ftp-port\fP or force it with
9d7d3f
 \fI--ftp-pasv\fP.
9d7d3f
@@ -368,6 +371,9 @@ but with this option, it will not try using EPSV.
9d7d3f
 \fB--epsv\fP can be used to explicitly enable EPSV again and \fB--no-epsv\fP
9d7d3f
 is an alias for \fB--disable-epsv\fP.
9d7d3f
 
9d7d3f
+If the server is an IPv6 host, this option will have no effect as EPSV is
9d7d3f
+necessary then.
9d7d3f
+
9d7d3f
 Disabling EPSV only changes the passive behavior. If you want to switch to
9d7d3f
 active mode you need to use \fI-P, --ftp-port\fP.
9d7d3f
 .IP "-e, --referer <URL>"
9d7d3f
-- 
9d7d3f
2.5.0
9d7d3f