Index: runtime/bin/socket.cc |
diff --git a/runtime/bin/socket.cc b/runtime/bin/socket.cc |
index fb9704b41d95224575e753f23f9154174153fed9..7b6f95ae27bbc77e241081786653580c97eae202 100644 |
--- a/runtime/bin/socket.cc |
+++ b/runtime/bin/socket.cc |
@@ -194,6 +194,11 @@ void FUNCTION_NAME(InternetAddress_Parse)(Dart_NativeArguments args) { |
} |
+void FUNCTION_NAME(NetworkInterface_ListSupported)(Dart_NativeArguments args) { |
+ Dart_SetReturnValue(args, Dart_NewBoolean(Socket::ListInterfacesSupported())); |
+} |
+ |
+ |
void FUNCTION_NAME(Socket_CreateConnect)(Dart_NativeArguments args) { |
RawAddr addr; |
SocketAddress::GetSockAddr(Dart_GetNativeArgument(args, 1), &addr); |