From owner-freebsd-bugs Thu May 13 8:40: 5 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id C5B5014DB6 for ; Thu, 13 May 1999 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA29024; Thu, 13 May 1999 08:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from smtp04.nwnexus.com (smtp04.nwnexus.com [206.63.63.52]) by hub.freebsd.org (Postfix) with ESMTP id D1DAF14C81 for ; Thu, 13 May 1999 08:36:01 -0700 (PDT) (envelope-from wrsomsky@halcyon.com) Received: from gramarye (evt-lx100-ip43.nwnexus.net [204.57.235.43]) by smtp04.nwnexus.com (8.8.8/8.8.8) with ESMTP id IAA10660 for ; Thu, 13 May 1999 08:35:57 -0700 (PDT) Received: (from wrsomsky@localhost) by gramarye (8.9.3/8.9.3) id IAA00937; Thu, 13 May 1999 08:33:41 -0700 (PDT) (envelope-from wrsomsky) Message-Id: <199905131533.IAA00937.gramarye.wrsomsky@halcyon.com> Date: Thu, 13 May 1999 08:33:41 -0700 (PDT) From: "William R. Somsky" Reply-To: wrsomsky@halcyon.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/11689: Change "netstat" mode in daily "status-network" script Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 11689 >Category: misc >Synopsis: Change "netstat" mode in daily "status-network" script >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu May 13 08:40:01 PDT 1999 >Closed-Date: >Last-Modified: >Originator: William R. Somsky >Release: FreeBSD 3.2-BETA i386 >Organization: >Environment: demand-dialed ppp; /etc/host.conf set to hosts:bind order; >Description: On a machine with demand-dialed ppp, invocation of the daily "420.status-network" script causes the machine to dial the network to perform the number-to-name resolution of the "netstat -i" within the script. >How-To-Repeat: Invoke /etc/periodic/daily/420.status-network on a machine with demand-dialed ppp. >Fix: Suggest that the "netstat -i" in the script be changed to "netstat -in" (print as numbers). Suggested patch below: *** 420.status-network:orig Sun Aug 17 10:55:33 1997 --- 420.status-network Thu May 13 08:15:53 1999 *************** *** 7,11 **** echo "" echo "Network interface status:" ! netstat -i fi --- 7,11 ---- echo "" echo "Network interface status:" ! netstat -in fi >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message