use netstat -inv for all address familires. PR 10249.

This commit is contained in:
itojun 2000-06-04 08:35:10 +00:00
parent 609377a40f
commit 2ece7fc42f

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: daily,v 1.32 2000/01/20 04:13:54 itojun Exp $
# $NetBSD: daily,v 1.33 2000/06/04 08:35:10 itojun Exp $
# @(#)daily 8.2 (Berkeley) 1/25/94
#
@ -187,11 +187,7 @@ rm -f $TMP
if checkyesno check_network; then
echo ""
echo "network:"
# excluding IPv6
netstat -in | awk 'NR == 1 {print;} NR > 1 {if ($3 !~ /:/) print; }'
echo ""
echo "IPv6 network:"
netstat -inv | awk 'NR == 1 {print;} NR > 1 {if ($3 ~ /:/) print; }'
netstat -inv
echo ""
t=/var/rwho/*
if [ "$t" != '/var/rwho/*' ]; then