commit | 7e6f2a44db28cc958fd39f05817f2075fe1f5d30 | [log] [tgz] |
---|---|---|
author | Ken Chen <cken@google.com> | Tue Nov 08 11:36:06 2022 +0800 |
committer | Ken Chen <cken@google.com> | Wed Nov 09 17:05:35 2022 +0800 |
tree | ac69bf94fa4a4bdb60dbf76e137b8cb152817768 | |
parent | 5e524e28ee51604ce64701af909eb89266f8b17e [diff] |
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
diff --git a/rootdir/etc/hosts b/rootdir/etc/hosts index 649151c..2e506a8 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