diff options
author | Peter Hessler <phessler@cvs.openbsd.org> | 2010-06-30 23:02:39 +0000 |
---|---|---|
committer | Peter Hessler <phessler@cvs.openbsd.org> | 2010-06-30 23:02:39 +0000 |
commit | 2d281c46cbff2638835aca2fc598878f56e1405a (patch) | |
tree | 0076f7b059615149503d7c42e6dca46baa754620 /distrib/miniroot | |
parent | 0d02b8e4c98c741e7a0efca280db1e59259e2bca (diff) |
we don't need to add a localhost route for our hostname address, our arp
code is smarter these days.
a side effect of this was noticed by reyk@
OK claudio@ henning@
Diffstat (limited to 'distrib/miniroot')
-rw-r--r-- | distrib/miniroot/install.sub | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub index 49e25d8ed7a..45a3b2133c1 100644 --- a/distrib/miniroot/install.sub +++ b/distrib/miniroot/install.sub @@ -1,4 +1,4 @@ -# $OpenBSD: install.sub,v 1.609 2010/06/30 20:22:01 halex Exp $ +# $OpenBSD: install.sub,v 1.610 2010/06/30 23:02:38 phessler Exp $ # $NetBSD: install.sub,v 1.5.2.8 1996/09/02 23:25:02 pk Exp $ # # Copyright (c) 1997-2009 Todd Miller, Theo de Raadt, Ken Westerback @@ -996,8 +996,6 @@ enable_network() { route -qn add -host -inet6 default $_gw && break done - # Use loopback, not the wire. - route -qn add -host `hostname` 127.0.0.1 >/dev/null route -qn add -net 127 127.0.0.1 -reject >/dev/null } |