From 77867ecd27c7daa0cebdd882b87ff8c26bf8f165 Mon Sep 17 00:00:00 2001 From: itojun <> Date: Sat, 4 Dec 2004 00:17:05 +0000 Subject: [PATCH] remove "route $hostname 127.0.0.1" line. deraadt ok *** please update /etc/netstart and test if it works ok for you *** --- src/etc/netstart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/etc/netstart b/src/etc/netstart index 3a5f286f..fe21eae4 100644 --- a/src/etc/netstart +++ b/src/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.98 2004/10/20 21:17:34 deraadt Exp $ +# $OpenBSD: netstart,v 1.99 2004/12/04 00:17:05 itojun Exp $ # Returns true if $1 contains only alphanumerics isalphanumeric() { @@ -342,8 +342,7 @@ for hn in /etc/hostname.*; do esac done -# Use loopback, not the wire. -route -qn add -host $hostname 127.0.0.1 > /dev/null +# reject 127/8 other than 127.0.0.1 route -qn add -net 127 127.0.0.1 -reject > /dev/null # Configure all the bridges.