summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-01-12 07:43:42 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-01-12 07:43:42 +0000
commita5bc4b760686aee3419092c0d40b75ad16f699ad (patch)
tree9d7c1aac4ab3c642d42a309035f1e0d6bdf2d79c /etc
parent070bad5ce9048e76a30dc2e4b95e3a603418b4b5 (diff)
when setting up lo0 use 127.0.0.1/8 instead of 127.0.0.1 for clarity and
correctness. it's not 1992 any more, kids. ok mcbride dlg krw
Diffstat (limited to 'etc')
-rw-r--r--etc/netstart4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/netstart b/etc/netstart
index e0f436a5b98..11a015c7fa3 100644
--- a/etc/netstart
+++ b/etc/netstart
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: netstart,v 1.128 2009/12/10 00:51:55 todd Exp $
+# $OpenBSD: netstart,v 1.129 2010/01/12 07:43:41 henning Exp $
# Strip comments (and leading/trailing whitespace if IFS is set)
# from a file and spew to stdout
@@ -203,7 +203,7 @@ fi
# Set the address for the loopback interface. Bringing the
# interface up, automatically invokes the IPv6 address ::1)
-ifconfig lo0 inet 127.0.0.1
+ifconfig lo0 inet 127.0.0.1/8
if ifconfig lo0 inet6 >/dev/null 2>&1; then
# IPv6 configurations.