From 7e6f2a44db28cc958fd39f05817f2075fe1f5d30 Mon Sep 17 00:00:00 2001 From: Ken Chen Date: Tue, 8 Nov 2022 11:36:06 +0800 Subject: [PATCH] Add ::1 to localhost in etc/hosts ::1 is IPv6 loopback address. Bug: 256507503 Test: $ adb shell /data/dnschk localhost # localhost (via nethandle 0): 127.0.0.1 ::1 Change-Id: Ibcee52a14143856db50fca301c48ea9e2591914b --- rootdir/etc/hosts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/hosts b/rootdir/etc/hosts index 649151cef..2e506a875 100644 --- a/rootdir/etc/hosts +++ b/rootdir/etc/hosts @@ -1,2 +1,2 @@ 127.0.0.1 localhost -::1 ip6-localhost +::1 localhost ip6-localhost