Source-Changes-HG archive

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

[src/trunk]: src/etc If not doing full_netstat, use the -v option anyway to a...



details:   https://anonhg.NetBSD.org/src/rev/a5e257c7a573
branches:  trunk
changeset: 567022:a5e257c7a573
user:      martin <martin%NetBSD.org@localhost>
date:      Fri May 28 03:55:30 2004 +0000

description:
If not doing full_netstat, use the -v option anyway to avoid truncating
interface names like bridge0 or pppoe0 - the awk post processing reserves
enough space for the column already.

diffstat:

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

diffs (20 lines):

diff -r 9586fd05493f -r a5e257c7a573 etc/daily
--- a/etc/daily Fri May 28 00:10:57 2004 +0000
+++ b/etc/daily Fri May 28 03:55:30 2004 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: daily,v 1.60 2004/04/09 17:35:21 kim Exp $
+#      $NetBSD: daily,v 1.61 2004/05/28 03:55:30 martin Exp $
 #      @(#)daily       8.2 (Berkeley) 1/25/94
 #
 
@@ -218,7 +218,7 @@
        if checkyesno full_netstat; then
                netstat -inv
        else
-               netstat -in | awk 'BEGIN {
+               netstat -inv | awk 'BEGIN {
                        ifs[""] = 0;
                }
                /^[^\*]* / {



Home | Main Index | Thread Index | Old Index