Differences From Artifact [9a40ea3367]:
- File src/OFDNSResolver.m — part of check-in [462cb8a108] at 2018-08-04 15:27:47 on branch trunk — OFDNSResolver: Add support for parsing SRV records (user: js, size: 29139) [annotate] [blame] [check-ins using]
To Artifact [bad70f4110]:
- File
src/OFDNSResolver.m
— part of check-in
[e36455441d]
at
2018-08-04 15:35:14
on branch trunk
— Use OF_HAVE_IPV6 instead of HAVE_IPV6
This has always been wrong. (user: js, size: 29145) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
589 590 591 592 593 594 595 | #ifdef OF_WINDOWS [self of_parseNetworkParams]; #endif if (_staticHosts == nil) { OFArray *localhost = | | | | 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 | #ifdef OF_WINDOWS [self of_parseNetworkParams]; #endif if (_staticHosts == nil) { OFArray *localhost = #ifdef OF_HAVE_IPV6 localhost = [OFArray arrayWithObjects: @"::1", @"127.0.0.1", nil]; #else localhost = [OFArray arrayWithObject: @"127.0.0.1"]; #endif _staticHosts = [[OFDictionary alloc] initWithObject: localhost forKey: @"localhost"]; } if (_nameServers == nil) #ifdef OF_HAVE_IPV6 _nameServers = [[OFArray alloc] initWithObjects: @"127.0.0.1", @"::1", nil]; #else _nameServers = [[OFArray alloc] initWithObject: @"127.0.0.1"]; #endif |
︙ | ︙ |