From 2d8fcdbaf1805fc7ec5af15d73e77a3a81063061 Mon Sep 17 00:00:00 2001 From: itojun <> Date: Tue, 15 Aug 2000 09:36:34 +0000 Subject: [PATCH] reorder ::1 and 127.0.0.1. getaddrinfo(3) returns entries in the defined order, so we should return ::1 first. --- src/etc/hosts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/hosts b/src/etc/hosts index 2ef42b8d..d7707f17 100644 --- a/src/etc/hosts +++ b/src/etc/hosts @@ -1,4 +1,4 @@ -# $OpenBSD: hosts,v 1.6 2000/02/05 18:14:55 itojun Exp $ +# $OpenBSD: hosts,v 1.7 2000/08/15 09:36:34 itojun Exp $ # # Host Database # This file should contain the addresses and aliases @@ -12,6 +12,6 @@ # 172.16.0.0 172.31.255.255 # 192.168.0.0 192.168.255.255 # -127.0.0.1 localhost localhost.my.domain ::1 localhost localhost.my.domain +127.0.0.1 localhost localhost.my.domain 192.168.254.254 noname