| Index: runtime/bin/socket_patch.dart
|
| diff --git a/runtime/bin/socket_patch.dart b/runtime/bin/socket_patch.dart
|
| index 51d67616837c26b0b5621d98fa67e42b2cbe77f9..857f9ff7deb0b80d20b2f4158443ba7b49087a3b 100644
|
| --- a/runtime/bin/socket_patch.dart
|
| +++ b/runtime/bin/socket_patch.dart
|
| @@ -36,7 +36,7 @@ patch class InternetAddress {
|
| }
|
|
|
| /* patch */ static Future<List<InternetAddress>> lookup(
|
| - String host, {InternetAddressType type: InternetAddressType.IP_V4}) {
|
| + String host, {InternetAddressType type: InternetAddressType.ANY}) {
|
| return _NativeSocket.lookup(host, type: type);
|
| }
|
| }
|
| @@ -158,7 +158,7 @@ class _NativeSocket extends NativeFieldWrapperClass1 {
|
| static SendPort socketService;
|
|
|
| static Future<List<InternetAddress>> lookup(
|
| - String host, {InternetAddressType type: InternetAddressType.IP_V4}) {
|
| + String host, {InternetAddressType type: InternetAddressType.ANY}) {
|
| ensureSocketService();
|
| return socketService.call([HOST_NAME_LOOKUP, host, type._value])
|
| .then((response) {
|
|
|