If not doing full_netstat, use the -v option anyway to avoid truncating trunk
authormartin <martin@NetBSD.org>
Fri, 28 May 2004 03:55:30 +0000
branchtrunk
changeset 127549 002993059aa3
parent 127548 5dfa84843952
child 127550 08378e6cf5ce
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.
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;
 		}
 		/^[^\*]* / {