Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc use 'route -n flush' not 'route flush' otherwise we migh...



details:   https://anonhg.NetBSD.org/src/rev/6e080bbe156a
branches:  trunk
changeset: 481329:6e080bbe156a
user:      explorer <explorer%NetBSD.org@localhost>
date:      Wed Jan 26 07:01:53 2000 +0000

description:
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.

diffstat:

 etc/netstart |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r dbea80ccd85c -r 6e080bbe156a etc/netstart
--- a/etc/netstart      Wed Jan 26 06:51:29 2000 +0000
+++ b/etc/netstart      Wed Jan 26 07:01:53 2000 +0000
@@ -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 @@
 
 # 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.



Home | Main Index | Thread Index | Old Index