Browse Source

remove "route $hostname 127.0.0.1" line. deraadt ok

*** please update /etc/netstart and test if it works ok for you ***
OPENBSD_3_7
itojun 20 years ago
parent
commit
77867ecd27
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      src/etc/netstart

+ 2
- 3
src/etc/netstart View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/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 # Returns true if $1 contains only alphanumerics
isalphanumeric() { isalphanumeric() {
@ -342,8 +342,7 @@ for hn in /etc/hostname.*; do
esac esac
done 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 route -qn add -net 127 127.0.0.1 -reject > /dev/null
# Configure all the bridges. # Configure all the bridges.


Loading…
Cancel
Save