use 'route -n flush' not 'route flush' otherwise we might spend all our time

trying to print hostnames for things we are just flushing anyway.
This commit is contained in:
explorer 2000-01-26 07:01:53 +00:00
parent 541dde0213
commit 1eea48680e
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: netstart,v 1.68 2000/01/17 02:37:59 itojun Exp $
# $NetBSD: netstart,v 1.69 2000/01/26 07:01:53 explorer Exp $
# from: @(#)netstart 8.1 (Berkeley) 7/23/93
if [ -f /etc/rc.subr ]; then
@ -34,7 +34,7 @@ fi
# Flush all routes just to make sure it is clean
if checkyesno flushroutes; then
route flush
route -n flush
fi
# Enable, flush and install packet filter rules before configuring interfaces.