| Index: net/ftp/ftp_network_transaction.cc
|
| diff --git a/net/ftp/ftp_network_transaction.cc b/net/ftp/ftp_network_transaction.cc
|
| index c4b2181b9b1e5ad26613649a26e8b40cf8f88f57..9b8cb41850d32bf7260d07fbcfe113ed267b0651 100644
|
| --- a/net/ftp/ftp_network_transaction.cc
|
| +++ b/net/ftp/ftp_network_transaction.cc
|
| @@ -683,7 +683,7 @@ int FtpNetworkTransaction::DoCtrlConnectComplete(int result) {
|
| response_.socket_address = HostPortPair::FromIPEndPoint(ip_endpoint);
|
| next_state_ = STATE_CTRL_READ;
|
|
|
| - if (ip_endpoint.GetFamily() == AF_INET) {
|
| + if (ip_endpoint.GetFamily() == ADDRESS_FAMILY_IPV4) {
|
| // Do not use EPSV for IPv4 connections. Some servers become confused
|
| // and we time out while waiting to connect. PASV is perfectly fine for
|
| // IPv4. Note that this blacklists IPv4 not to use EPSV instead of
|
|
|