diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-22 04:25:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-05-22 04:25:51 +0000 |
commit | 9ef55870132eb52a968055249d21783712738b4d (patch) | |
tree | b9112c8490890553f517a961504ea23883704d8c /etc | |
parent | 1a936976928962c4e312ffec2942935789c4e12d (diff) |
use route -n, what the heck
Diffstat (limited to 'etc')
-rw-r--r-- | etc/netstart | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/netstart b/etc/netstart index 9849f98d76b..4d83dac0309 100644 --- a/etc/netstart +++ b/etc/netstart @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: netstart,v 1.37 1998/03/28 00:11:00 deraadt Exp $ +# $OpenBSD: netstart,v 1.38 1998/05/22 04:25:50 deraadt Exp $ # /etc/myname contains my symbolic name # @@ -35,8 +35,8 @@ fi ifconfig lo0 inet localhost # use loopback, not the wire -route add -host $hostname localhost -route add -net 127 127.0.0.1 -reject +route -n add -host $hostname localhost +route -n add -net 127 127.0.0.1 -reject # configure all of the non-loopback interfaces which we know about. # do this by reading /etc/hostname.* files, where * is the name @@ -96,8 +96,8 @@ route add -net 127 127.0.0.1 -reject # /etc/mygate, if it exists, contains the name of my gateway host # that name must be in /etc/hosts. if [ -f /etc/mygate ]; then - route add -host default `cat /etc/mygate` + route -n add -host default `cat /etc/mygate` fi # default multicast route -route add -net 224.0.0.0 -interface $hostname +route -n add -net 224.0.0.0 -interface $hostname |