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