Browse Source

reorder ::1 and 127.0.0.1. getaddrinfo(3) returns entries in the

defined order, so we should return ::1 first.
OPENBSD_2_8
itojun 24 years ago
parent
commit
2d8fcdbaf1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/hosts

+ 2
- 2
src/etc/hosts View File

@ -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

Loading…
Cancel
Save