File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ - (void)sendRequest:(NSMutableURLRequest *)request
178
178
request.URL = url;
179
179
domain = url.host ;
180
180
} else if (_dns != nil && [url.scheme isEqual: @" http" ]) {
181
- if (![QNIP isV6 ] || isIpV6FullySupported () ) {
181
+ if (isIpV6FullySupported () || ![QNIP isV6 ]) {
182
182
ips = [_dns queryWithDomain: [[QNDomain alloc ] init: domain hostsFirst: NO hasCname: YES maxTtl: 1000 ]];
183
183
double duration = [[NSDate date ] timeIntervalSinceDate: startTime];
184
184
if (ips == nil || ips.count == 0 ) {
Original file line number Diff line number Diff line change @@ -164,7 +164,7 @@ - (void)sendRequest:(NSMutableURLRequest *)request
164
164
request.URL = url;
165
165
domain = url.host ;
166
166
} else if (_noProxy && _dns != nil && [url.scheme isEqualToString: @" http" ]) {
167
- if (![QNIP isV6 ] || isIpV6FullySupported () ) {
167
+ if (isIpV6FullySupported () || ![QNIP isV6 ]) {
168
168
ips = [_dns queryWithDomain: [[QNDomain alloc ] init: domain hostsFirst: NO hasCname: YES maxTtl: 1000 ]];
169
169
double duration = [[NSDate date ] timeIntervalSinceDate: startTime];
170
170
You can’t perform that action at this time.
0 commit comments