summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.h
diff options
context:
space:
mode:
authorAvi Brender <abrender@elitehosts.com>2015-12-10 11:37:03 +0200
committerLior Kaplan <kaplanlior@gmail.com>2015-12-15 11:07:40 +0200
commit90a26a4844d1acfecb3bd0842da333f8bddd45c6 (patch)
treed6319157b34bfcd1e6adda3bbb76ef962ba6bf91 /ext/ftp/php_ftp.h
parent071616026f613f70cc8fe5404032557bb0e12470 (diff)
downloadphp-git-90a26a4844d1acfecb3bd0842da333f8bddd45c6.tar.gz
Implement FR #55651 (Option to ignore the returned FTP PASV address)
Diffstat (limited to 'ext/ftp/php_ftp.h')
-rw-r--r--ext/ftp/php_ftp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ftp/php_ftp.h b/ext/ftp/php_ftp.h
index 40e03ffa02..6b52fa658c 100644
--- a/ext/ftp/php_ftp.h
+++ b/ext/ftp/php_ftp.h
@@ -29,6 +29,7 @@ extern zend_module_entry php_ftp_module_entry;
#define PHP_FTP_OPT_TIMEOUT_SEC 0
#define PHP_FTP_OPT_AUTOSEEK 1
+#define PHP_FTP_OPT_USEPASVADDRESS 2
#define PHP_FTP_AUTORESUME -1
PHP_MINIT_FUNCTION(ftp);