summaryrefslogtreecommitdiff
path: root/ext/ftp/php_ftp.h
diff options
context:
space:
mode:
authorAvi Brender <abrender@elitehosts.com>2015-12-15 11:51:32 +0200
committerLior Kaplan <kaplanlior@gmail.com>2015-12-15 11:51:32 +0200
commit71e468e14149169b28439a552f5924330580acab (patch)
tree22a014cb49e0a72e1bfc83f1ac9ac16bbea39b70 /ext/ftp/php_ftp.h
parente048b3fc6b482d19c3f21e6691b2e0188fc83a77 (diff)
parent838e4039d7fc8f79fe71091725ab0a13a5f4ad2a (diff)
downloadphp-git-71e468e14149169b28439a552f5924330580acab.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 3ddc76f074..8000a3e3c9 100644
--- a/ext/ftp/php_ftp.h
+++ b/ext/ftp/php_ftp.h
@@ -32,6 +32,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);