From 8fcbe5ea0faef772845c5ef014b3e40dbb8676fd Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Fri, 22 May 1998 04:25:50 +0000 Subject: [PATCH] use route -n, what the heck --- src/etc/netstart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/etc/netstart b/src/etc/netstart index 9849f98d..4d83dac0 100644 --- a/src/etc/netstart +++ b/src/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