OSDN Git Service

Retire socket_loopback_client.
authorElliott Hughes <enh@google.com>
Tue, 11 Oct 2016 20:50:06 +0000 (13:50 -0700)
committerElliott Hughes <enh@google.com>
Tue, 11 Oct 2016 20:50:06 +0000 (13:50 -0700)
Making the world safe for IPv6.

Bug: http://b/31537253
Test: builds
Change-Id: If8478aec17892f49e856d6220b72e4585ee9c078

reference-ril/reference-ril.c

index db45299..6d694e3 100644 (file)
@@ -3311,7 +3311,7 @@ mainLoop(void *param __unused)
             if (isInEmulator()) {
                 fd = qemu_pipe_open("pipe:qemud:gsm");
             } else if (s_port > 0) {
-                fd = socket_loopback_client(s_port, SOCK_STREAM);
+                fd = socket_network_client("localhost", s_port, SOCK_STREAM);
             } else if (s_device_socket) {
                 fd = socket_local_client(s_device_path,
                                          ANDROID_SOCKET_NAMESPACE_FILESYSTEM,