From 88f83e9daaa4f958b23cc66880f60ed1e236b2a5 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Sat, 4 Dec 2004 00:17:06 +0000 Subject: remove "route $hostname 127.0.0.1" line. deraadt ok *** please update /etc/netstart and test if it works ok for you *** --- etc/netstart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/netstart b/etc/netstart index 3a5f286ff28..fe21eae46fa 100644 --- a/etc/netstart +++ b/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. -- cgit v1.2.3